Took into respect that burn_session_by_cue_file() parameter text_packs may be NULL.
This commit is contained in:
parent
be8834a564
commit
43e113ae54
@ -1 +1 @@
|
|||||||
#define Cdrskin_timestamP "2015.11.01.184659"
|
#define Cdrskin_timestamP "2015.11.01.194734"
|
||||||
|
@ -2146,10 +2146,12 @@ ex:
|
|||||||
tracks = burn_session_get_tracks(session, &num_tracks);
|
tracks = burn_session_get_tracks(session, &num_tracks);
|
||||||
for (i = 0; i < num_tracks; i++)
|
for (i = 0; i < num_tracks; i++)
|
||||||
burn_track_free(tracks[i]);
|
burn_track_free(tracks[i]);
|
||||||
if(*text_packs != NULL)
|
if(text_packs != NULL) {
|
||||||
free(*text_packs);
|
if(*text_packs != NULL)
|
||||||
*text_packs = NULL;
|
free(*text_packs);
|
||||||
*num_packs = 0;
|
*text_packs = NULL;
|
||||||
|
*num_packs = 0;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
if (fifo != NULL) {
|
if (fifo != NULL) {
|
||||||
*fifo = crs->fifo;
|
*fifo = crs->fifo;
|
||||||
|
Loading…
Reference in New Issue
Block a user