Prevented SIGSEGV in isoburn_drive_scan_and_grab()
This commit is contained in:
parent
cee5e291e2
commit
30176ed372
@ -122,7 +122,6 @@ int isoburn_drive_scan_and_grab(struct burn_drive_info *drive_infos[],
|
|||||||
|
|
||||||
ret= 0; goto ex;
|
ret= 0; goto ex;
|
||||||
}
|
}
|
||||||
o->treatment= treatment;
|
|
||||||
|
|
||||||
if(treatment==1) {
|
if(treatment==1) {
|
||||||
ret= burn_drive_scan_and_grab(drive_infos, adrpt, load);
|
ret= burn_drive_scan_and_grab(drive_infos, adrpt, load);
|
||||||
@ -143,6 +142,8 @@ int isoburn_drive_scan_and_grab(struct burn_drive_info *drive_infos[],
|
|||||||
/* >>> welcome file for modfication treatment */;
|
/* >>> welcome file for modfication treatment */;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
if(o!=NULL)
|
||||||
|
o->treatment= treatment;
|
||||||
|
|
||||||
ret= 1;
|
ret= 1;
|
||||||
ex:
|
ex:
|
||||||
|
Loading…
Reference in New Issue
Block a user