Author: tkreuzer
Date: Sun Feb 3 17:26:52 2008
New Revision: 32106
URL:
http://svn.reactos.org/svn/reactos?rev=32106&view=rev
Log:
fix a DC handle leak
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/cursoricon.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/cursoricon.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/cursoricon.c (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/cursoricon.c Sun Feb 3 17:26:52 2008
@@ -1711,7 +1711,7 @@
Ret = TRUE;
cleanup:
- if(DoFlickerFree)
+ if(DoFlickerFree || bAlpha)
{
if(hOldOffBmp) NtGdiSelectBitmap(hdcOff, hOldOffBmp);
if(hOldOffBrush) NtGdiSelectBrush(hdcOff, hOldOffBrush);