From 06f6909f27198fa1efafa0478f2bc56f36ce4a24 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sun, 10 Sep 2006 17:25:00 +0000 Subject: [PATCH] Re-enabled call to burn_drive_info_free() after repair by revision 93 --- trunk/cdrskin/cdrskin.c | 4 ++-- trunk/test/libburner.c | 4 ---- trunk/test/testburner.c | 4 ---- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/trunk/cdrskin/cdrskin.c b/trunk/cdrskin/cdrskin.c index ec2d35e6..78605e8e 100644 --- a/trunk/cdrskin/cdrskin.c +++ b/trunk/cdrskin/cdrskin.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"); diff --git a/trunk/test/libburner.c b/trunk/test/libburner.c index 392ab6e3..a955b327 100644 --- a/trunk/test/libburner.c +++ b/trunk/test/libburner.c @@ -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"); diff --git a/trunk/test/testburner.c b/trunk/test/testburner.c index 70930020..2558242e 100644 --- a/trunk/test/testburner.c +++ b/trunk/test/testburner.c @@ -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");