Author: jimtabor
Date: Thu Aug 13 06:17:23 2009
New Revision: 42644
URL:
http://svn.reactos.org/svn/reactos?rev=42644&view=rev
Log:
- Fix another NULL Wnd crash.
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/window.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/window.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/window.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/window.c [iso-8859-1] Thu Aug 13 06:17:23
2009
@@ -319,6 +319,8 @@
PCLIENTINFO ClientInfo = GetWin32ClientInfo();
PWND Wnd = WindowObject->Wnd;
+ if (!Wnd) return;
+
if (ClientInfo->CallbackWnd.pvWnd ==
DesktopHeapAddressToUser(WindowObject->Wnd))
{
ClientInfo->CallbackWnd.hWnd = NULL;