Re-enabled call to burn_drive_info_free() after repair by revision 93
This commit is contained in:
parent
02089a0266
commit
06f6909f27
@ -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->drives[skin->driveno].drive after burn (then as
|
||||||
skin->grabbed_drive, but already being 0xb0 in Cdrskin_grab) )
|
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)
|
if(skin->verbosity>=Cdrskin_verbose_debuG)
|
||||||
ClN(fprintf(stderr,"cdrskin_debug: Finishing libburn.\n"));
|
ClN(fprintf(stderr,"cdrskin_debug: Finishing libburn.\n"));
|
||||||
@ -4390,7 +4390,7 @@ int main(int argc, char **argv)
|
|||||||
if(ret<=0)
|
if(ret<=0)
|
||||||
{exit_value= 2; goto ex;}
|
{exit_value= 2; goto ex;}
|
||||||
if(skin->n_drives<=0) {
|
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) {
|
if(getuid()!=0) {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"cdrskin: HINT : Run this program as superuser with option --devices\n");
|
"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",
|
printf("Detected '%s' as persistent address of drive number %d\n",
|
||||||
adr,*driveno);
|
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_drive_info_free(drive_list);
|
||||||
*/
|
|
||||||
burn_finish();
|
burn_finish();
|
||||||
printf(
|
printf(
|
||||||
"Re-Initializing library to release any unintended drives ...\n");
|
"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",
|
printf("Detected '%s' as persistent address of drive number %d\n",
|
||||||
adr,*driveno);
|
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_drive_info_free(drive_list);
|
||||||
*/
|
|
||||||
burn_finish();
|
burn_finish();
|
||||||
printf(
|
printf(
|
||||||
"Re-Initializing library to release any unintended drives ...\n");
|
"Re-Initializing library to release any unintended drives ...\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user