Releasing loaded ISO image data when no longer needed

This commit is contained in:
Thomas Schmitt 2013-11-17 12:05:40 +00:00
parent 098a1832bf
commit 1e7cf4b171
2 changed files with 5 additions and 2 deletions

View File

@ -375,7 +375,10 @@ static int isoburn_welcome_media(struct isoburn **o, struct burn_drive *d,
readonly= 1;
if(flag & 128)
flag = (flag & ~ 16) | 8;
ret= isoburn_find_emulator(o, d, 0);
if(ret >= 0 && *o != NULL)
isoburn_destroy(o, 0);
ret= isoburn_new(o, 0);
if(ret<=0)
goto ex;

View File

@ -1 +1 @@
#define Xorriso_timestamP "2013.11.15.095611"
#define Xorriso_timestamP "2013.11.17.120422"