From 7660dbd93071dcd555d1da1ee32bb70416395308 Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Sun, 12 Dec 2004 16:47:52 +0000 Subject: [PATCH] - Don't call IntReleaseWindowObject with handle. svn path=/trunk/; revision=12042 --- reactos/subsys/win32k/ntuser/window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/subsys/win32k/ntuser/window.c b/reactos/subsys/win32k/ntuser/window.c index 1159f77dda3..c91363e82e1 100644 --- a/reactos/subsys/win32k/ntuser/window.c +++ b/reactos/subsys/win32k/ntuser/window.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: window.c,v 1.253 2004/12/12 01:40:37 weiden Exp $ +/* $Id: window.c,v 1.254 2004/12/12 16:47:52 navaraf Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -2370,7 +2370,7 @@ NtUserFindWindowEx(HWND hwndParent, ChildAfter = NULL; if(hwndChildAfter && !(ChildAfter = IntGetWindowObject(hwndChildAfter))) { - IntReleaseWindowObject(hwndParent); + IntReleaseWindowObject(Parent); SetLastWin32Error(ERROR_INVALID_WINDOW_HANDLE); return NULL; }