Took into respect that burn_session_by_cue_file() parameter text_packs may be NULL.
This commit is contained in:
parent
f3ce6654a2
commit
ade2b06ee0
@ -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);
|
||||
for (i = 0; i < num_tracks; i++)
|
||||
burn_track_free(tracks[i]);
|
||||
if(*text_packs != NULL)
|
||||
free(*text_packs);
|
||||
*text_packs = NULL;
|
||||
*num_packs = 0;
|
||||
if(text_packs != NULL) {
|
||||
if(*text_packs != NULL)
|
||||
free(*text_packs);
|
||||
*text_packs = NULL;
|
||||
*num_packs = 0;
|
||||
}
|
||||
} else {
|
||||
if (fifo != NULL) {
|
||||
*fifo = crs->fifo;
|
||||
|
Loading…
Reference in New Issue
Block a user