Closed a memory leak found by valgrind

This commit is contained in:
Thomas Schmitt 2011-05-03 11:51:26 +00:00
parent 8ed8777a5b
commit 340e54b90e
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"