Re-enabled call to burn_drive_info_free() after repair by revision 93

This commit is contained in:
Thomas Schmitt 2006-09-10 17:25:00 +00:00
parent 48ff3fc67b
commit fb2deba58c
3 changed files with 2 additions and 10 deletions

View File

@ -2182,8 +2182,8 @@ int Cdrskin_reinit_lib_with_adr(struct CdrskiN *skin, int flag)
skin->drives[skin->driveno].drive after burn (then as
skin->grabbed_drive, but already being 0xb0 in Cdrskin_grab) )
burn_drive_info_free(skin->drives);
*/
burn_drive_info_free(skin->drives);
if(skin->verbosity>=Cdrskin_verbose_debuG)
ClN(fprintf(stderr,"cdrskin_debug: Finishing libburn.\n"));
@ -4390,7 +4390,7 @@ int main(int argc, char **argv)
if(ret<=0)
{exit_value= 2; goto ex;}
if(skin->n_drives<=0) {
fprintf(stderr,"cdrskin: NOTE : no usable drive detected.\n");
fprintf(stderr,"cdrskin: NOTE : No usable drive detected.\n");
if(getuid()!=0) {
fprintf(stderr,
"cdrskin: HINT : Run this program as superuser with option --devices\n");

View File

@ -223,11 +223,7 @@ int libburner_aquire_by_driveno(int *driveno)
printf("Detected '%s' as persistent address of drive number %d\n",
adr,*driveno);
/* In cdrskin this causes a delayed sigsegv. I understand we risk only
a small memory leak by not doing:
burn_drive_info_free(drive_list);
*/
burn_finish();
printf(
"Re-Initializing library to release any unintended drives ...\n");

View File

@ -327,11 +327,7 @@ int libburner_aquire_by_driveno(int *driveno)
printf("Detected '%s' as persistent address of drive number %d\n",
adr,*driveno);
/* In cdrskin this causes a delayed sigsegv. I understand we risk only
a small memory leak by not doing:
burn_drive_info_free(drive_list);
*/
burn_finish();
printf(
"Re-Initializing library to release any unintended drives ...\n");