Closed a memory leak with error around C-TEXT. Another try on Coverity CID 21818.

1.4.2
Thomas Schmitt 7 years ago
parent 71ee6246a6
commit be8834a564
  1. 2
      cdrskin/cdrskin_timestamp.h
  2. 4
      libburn/structure.c

@ -1 +1 @@
#define Cdrskin_timestamP "2015.11.01.125502"
#define Cdrskin_timestamP "2015.11.01.184659"

@ -2146,6 +2146,10 @@ 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;
} else {
if (fifo != NULL) {
*fifo = crs->fifo;

Loading…
Cancel
Save