- GreSetPointerShape: Don't cleanup the XLATEOBJ when it wasn't initialized.
- Found by Amine Khaldi

svn path=/trunk/; revision=42625
This commit is contained in:
Timo Kreuzer 2009-08-11 18:42:30 +00:00
parent d05d3811ed
commit f928fd8906

View file

@ -686,11 +686,11 @@ GreSetPointerShape(
fl | SPS_CHANGE);
/* Cleanup */
if (hbmColor)
EXLATEOBJ_vCleanup(&exlo);
if (psurfColor)
{
EXLATEOBJ_vCleanup(&exlo);
SURFACE_ShareUnlockSurface(psurfColor);
}
if (psurfMask)
SURFACE_ShareUnlockSurface(psurfMask);