Author: tkreuzer
Date: Tue Aug 11 20:42:30 2009
New Revision: 42625
URL:
http://svn.reactos.org/svn/reactos?rev=42625&view=rev
Log:
[win32k]
- GreSetPointerShape: Don't cleanup the XLATEOBJ when it wasn't initialized.
- Found by Amine Khaldi
Modified:
trunk/reactos/subsystems/win32/win32k/eng/mouse.c
Modified: trunk/reactos/subsystems/win32/win32k/eng/mouse.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/en…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/eng/mouse.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/eng/mouse.c [iso-8859-1] Tue Aug 11 20:42:30
2009
@@ -686,11 +686,11 @@
fl | SPS_CHANGE);
/* Cleanup */
- if (hbmColor)
+ if (psurfColor)
+ {
EXLATEOBJ_vCleanup(&exlo);
-
- if (psurfColor)
SURFACE_ShareUnlockSurface(psurfColor);
+ }
if (psurfMask)
SURFACE_ShareUnlockSurface(psurfMask);