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 095c82efc1
commit 22c6f2cb15
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"