Closed memory leak by freeing session and track in isoburn_prepare_disc_aux()

This commit is contained in:
Thomas Schmitt 2007-11-06 16:39:59 +00:00
parent c131c592ad
commit 997934c28b
2 changed files with 5 additions and 1 deletions

View File

@ -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_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 */
return 1;
}

View File

@ -1 +1 @@
#define Xorriso_timestamP "2007.11.06.163929"
#define Xorriso_timestamP "2007.11.06.164029"