Closed a memory leak found by valgrind

This commit is contained in:
Thomas Schmitt 2011-05-03 11:51:26 +00:00
parent bcf7dc2131
commit c5855dd81d
2 changed files with 3 additions and 1 deletions

View File

@ -1981,6 +1981,8 @@ int isoburn_get_mount_params(struct burn_drive *d,
ex:; ex:;
o->fabricated_msc1= msc1_mem; o->fabricated_msc1= msc1_mem;
if(disc != NULL)
isoburn_toc_disc_free(disc);
return(2 - is_iso); return(2 - is_iso);
} }

View File

@ -1 +1 @@
#define Xorriso_timestamP "2011.05.03.115103" #define Xorriso_timestamP "2011.05.03.115146"