From 62a63e2892450f2ef63bb201ef5f4c3ca126920c Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Sun, 7 Dec 2003 13:14:22 +0000 Subject: [PATCH] fixed releasing window object svn path=/trunk/; revision=6895 --- reactos/subsys/win32k/ntuser/painting.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/subsys/win32k/ntuser/painting.c b/reactos/subsys/win32k/ntuser/painting.c index a11b64f9147..30590871732 100644 --- a/reactos/subsys/win32k/ntuser/painting.c +++ b/reactos/subsys/win32k/ntuser/painting.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: painting.c,v 1.41 2003/12/06 20:58:27 navaraf Exp $ + * $Id: painting.c,v 1.42 2003/12/07 13:14:22 weiden Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -769,6 +769,7 @@ NtUserBeginPaint(HWND hWnd, PAINTSTRUCT* lPs) if (!lPs->hdc) { + IntReleaseWindowObject(Window); return NULL; }