mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user