Author: jimtabor
Date: Tue Jul 7 07:23:27 2009
New Revision: 41794
URL:
http://svn.reactos.org/svn/reactos?rev=41794&view=rev
Log:
- Hit another one. Check window is still alive.
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] Tue Jul 7 07:23:27
2009
@@ -190,6 +190,8 @@
PWINDOW_OBJECT FASTCALL
IntGetParent(PWINDOW_OBJECT Wnd)
{
+ if (!Wnd->Wnd) return NULL;
+
if (Wnd->Wnd->Style & WS_POPUP)
{
return UserGetWindowObject(Wnd->hOwner);