user32: Always initialize module in load_desktop_driver.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48742 Signed-off-by: Jefferson Carpenter <jeffersoncarpenter2@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
2db87b733f
commit
bc9d4eb55a
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue