user32: Always initialize graphics_driver in load_desktop_driver.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
773c20ffd1
commit
360510da94
|
@ -84,7 +84,7 @@ static BOOL load_desktop_driver( HWND hwnd, HMODULE *module )
|
|||
static const USER_DRIVER *load_driver(void)
|
||||
{
|
||||
void *ptr;
|
||||
HMODULE graphics_driver;
|
||||
HMODULE graphics_driver = NULL;
|
||||
USER_DRIVER *driver, *prev;
|
||||
|
||||
driver = HeapAlloc( GetProcessHeap(), 0, sizeof(*driver) );
|
||||
|
|
Loading…
Reference in New Issue