Commit bc9d4eb5 authored by Jefferson Carpenter's avatar Jefferson Carpenter Committed by Alexandre Julliard

user32: Always initialize module in load_desktop_driver.

parent 2db87b73
......@@ -85,6 +85,7 @@ static BOOL load_desktop_driver( HWND hwnd, HMODULE *module )
else
{
size = sizeof(driver_load_error);
*module = NULL;
RegQueryValueExA( hkey, "DriverError", NULL, NULL, (BYTE *)driver_load_error, &size );
}
RegCloseKey( hkey );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment