Author: janderwald
Date: Thu Apr 17 03:34:58 2008
New Revision: 32997
URL:
http://svn.reactos.org/svn/reactos?rev=32997&view=rev
Log:
- unlink window object when notify hook returns an error
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 Apr 17 03:34:58
2008
@@ -2063,6 +2063,7 @@
{
/* FIXME: Cleanup. */
DPRINT1("IntCreateWindowEx(): event CREATE hook failed. No cleanup
performed!\n");
+ IntUnlinkWindow(Window);
RETURN((HWND)0);
}
#endif