Fix missing null check. CID 10937.

This commit is contained in:
Michael Lotz 2011-12-05 02:37:35 +01:00
parent 04c140226c
commit 500553860e

View File

@ -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,