isoburn_read_volset() now hands out an official volset reference

This commit is contained in:
2007-10-18 14:48:35 +00:00
parent be43aab45f
commit 49b1637579
3 changed files with 6 additions and 8 deletions

View File

@ -1 +1 @@
#define Xorriso_timestamP "2007.10.17.225837"
#define Xorriso_timestamP "2007.10.18.144841"

View File

@ -189,11 +189,8 @@ int Xorriso_give_up_drive(struct XorrisO *xorriso, int flag)
drive= dinfo[0].drive;
isoburn_drive_release(drive,0);
/* >>> this should be an official reference for this pointer which was
handed out by isoburn_read_volset() and attached to invisible
struct isoburn. Then to be processed by: iso_volset_free(volset);
*/
xorriso->in_volset_handle= NULL; /* destroyed by isoburn_drive_release() */
iso_volset_free((struct iso_volset *) xorriso->in_volset_handle);
xorriso->in_volset_handle= NULL;
xorriso->volset_change_pending= 0;
burn_drive_info_free(dinfo);