Author: gschneider
Date: Thu Oct 16 12:12:25 2008
New Revision: 36767
URL:
http://svn.reactos.org/svn/reactos?rev=36767&view=rev
Log:
No need to unlock, if locking failed. Fixes CID 186.
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 [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/cursoricon.c [iso-8859-1] Thu Oct 16
12:12:25 2008
@@ -1850,7 +1850,6 @@
BitmapObj = BITMAPOBJ_LockBitmap(dcbmp);
if ( !BitmapObj )
{
- BITMAPOBJ_UnlockBitmap(BitmapObj);
return showpointer; /* No Mouse */
}