Closed memory leaks found by valgrind

master
Thomas Schmitt 12 years ago
parent 710ed4a135
commit bd81d5cd72

@ -1628,10 +1628,10 @@ int Xorriso_burn_track(struct XorrisO *xorriso, off_t write_start_address,
int isosize= -1, do_isosize, is_bd= 0, signal_mode;
struct burn_drive_info *dinfo;
struct burn_drive *drive;
struct burn_write_opts *burn_options;
struct burn_write_opts *burn_options= NULL;
struct burn_disc *disc= NULL;
struct burn_session *session;
struct burn_track *track;
struct burn_session *session= NULL;
struct burn_track *track= NULL;
struct stat stbuf;
off_t fixed_size= 0;
struct burn_source *data_src= NULL, *fifo_src= NULL;
@ -1861,6 +1861,12 @@ ex:;
Xorriso_process_msg_queues(xorriso,0);
if(disc!=NULL)
burn_disc_free(disc);
if(session != NULL)
burn_session_free(session);
if(track != NULL)
burn_track_free(track);
if(burn_options != NULL)
burn_write_opts_free(burn_options);
if(xorriso->pacifier_fifo!=NULL)
burn_source_free(xorriso->pacifier_fifo);
xorriso->pacifier_fifo= NULL;

@ -1 +1 @@
#define Xorriso_timestamP "2011.05.03.063012"
#define Xorriso_timestamP "2011.05.03.085459"

Loading…
Cancel
Save