Closed memory leak by freeing session and track in isoburn_prepare_disc_aux()
This commit is contained in:
parent
c0fb0817e9
commit
ee7308f4ad
@ -314,6 +314,10 @@ int isoburn_prepare_disc_aux(struct burn_drive *d, struct burn_disc **disc,
|
|||||||
burn_track_set_source(track, o->fifo);
|
burn_track_set_source(track, o->fifo);
|
||||||
burn_session_add_track(session, track, BURN_POS_END);
|
burn_session_add_track(session, track, BURN_POS_END);
|
||||||
|
|
||||||
|
/* give up local references */
|
||||||
|
burn_track_free(track);
|
||||||
|
burn_session_free(session);
|
||||||
|
|
||||||
o->wrote_well= -1; /* neutral */
|
o->wrote_well= -1; /* neutral */
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2007.11.06.163929"
|
#define Xorriso_timestamP "2007.11.06.164029"
|
||||||
|
Loading…
Reference in New Issue
Block a user