mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
[win32k]
- 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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user