Closed a small memory leak with CD SAO found by valgrind

1.1.0
Thomas Schmitt 12 years ago
parent aeff7957f2
commit 99af1501fc
  1. 2
      cdrskin/cdrskin_timestamp.h
  2. 2
      libburn/write.c

@ -1 +1 @@
#define Cdrskin_timestamP "2011.06.06.173611"
#define Cdrskin_timestamP "2011.06.07.084343"

@ -2529,6 +2529,8 @@ return crap. so we send the command, then ignore the result.
/* print_cue(sheet);*/
if (o->write_type == BURN_WRITE_SAO)
d->send_cue_sheet(d, sheet);
if (sheet->data != NULL)
free(sheet->data);
free(sheet);
if (o->write_type == BURN_WRITE_RAW) {

Loading…
Cancel
Save