Closed a small memory leak with CD SAO found by valgrind
This commit is contained in:
parent
aeff7957f2
commit
99af1501fc
@ -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);*/
|
/* print_cue(sheet);*/
|
||||||
if (o->write_type == BURN_WRITE_SAO)
|
if (o->write_type == BURN_WRITE_SAO)
|
||||||
d->send_cue_sheet(d, sheet);
|
d->send_cue_sheet(d, sheet);
|
||||||
|
if (sheet->data != NULL)
|
||||||
|
free(sheet->data);
|
||||||
free(sheet);
|
free(sheet);
|
||||||
|
|
||||||
if (o->write_type == BURN_WRITE_RAW) {
|
if (o->write_type == BURN_WRITE_RAW) {
|
||||||
|
Loading…
Reference in New Issue
Block a user