Author: cgutman
Date: Fri Aug 12 09:54:50 2011
New Revision: 53192
URL:
http://svn.reactos.org/svn/reactos?rev=53192&view=rev
Log:
[USER32]
- Fix a bitmap leak in IntDrawState
Modified:
trunk/reactos/dll/win32/user32/windows/draw.c
Modified: trunk/reactos/dll/win32/user32/windows/draw.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/d…
==============================================================================
--- trunk/reactos/dll/win32/user32/windows/draw.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/windows/draw.c [iso-8859-1] Fri Aug 12 09:54:50 2011
@@ -1,4 +1,4 @@
-/*
+/*
* ReactOS User32 Library
* - Various drawing functions
*
@@ -1276,6 +1276,8 @@
return FALSE;
s.cx = bm.bmWidth;
s.cy = bm.bmHeight;
+ DeleteObject(ici.hbmMask);
+ DeleteObject(ici.hbmColor);
break;
case DST_BITMAP: