Fix missing null check. CID 10937.
This commit is contained in:
parent
04c140226c
commit
500553860e
@ -37,6 +37,8 @@ load_settings()
|
||||
{
|
||||
void *settingsHandle;
|
||||
settingsHandle = load_driver_settings(DRIVER_NAME);
|
||||
if (settingsHandle == NULL)
|
||||
return;
|
||||
|
||||
#if !DEBUG
|
||||
gLogEnabled = get_driver_boolean_parameter(settingsHandle,
|
||||
|
Loading…
Reference in New Issue
Block a user