Reset xorriso->boot_count when image gets discarded
This commit is contained in:
@ -329,6 +329,7 @@ int Xorriso_aquire_drive(struct XorrisO *xorriso, char *adr, int flag)
|
||||
Sectorbitmap_destroy(&(xorriso->in_sector_map), 0);
|
||||
Xorriso_destroy_hln_array(xorriso, 0);
|
||||
Xorriso_destroy_di_array(xorriso, 0);
|
||||
xorriso->boot_count= 0;
|
||||
|
||||
/* check for invalid state */
|
||||
if(state != BURN_DISC_BLANK && state != BURN_DISC_APPENDABLE &&
|
||||
|
Reference in New Issue
Block a user