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

trunk@386
Thomas Schmitt 16 years ago
parent 48ff3fc67b
commit fb2deba58c
  1. 4
      cdrskin/cdrskin.c
  2. 4
      test/libburner.c
  3. 4
      test/testburner.c

@ -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");

@ -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");

@ -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");

Loading…
Cancel
Save