mirror of
https://github.com/reactos/reactos.git
synced 2024-08-14 07:06:23 +00:00
[WIN32K]
- Giannis Adamopoulos: Only dereference a class if it's valid, should fix Heroes 3 crash. See issue #5606 for more details. svn path=/trunk/; revision=48732
This commit is contained in:
parent
cacc80ae3e
commit
0955523e4f
|
@ -2184,7 +2184,7 @@ CLEANUP:
|
|||
/* If the window was created, the class will be dereferenced by co_UserDestroyWindow */
|
||||
if (Window)
|
||||
co_UserDestroyWindow(Window);
|
||||
else
|
||||
else if (Class)
|
||||
IntDereferenceClass(Class, pti->pDeskInfo, pti->ppi);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue