mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 12:23:31 +00:00
[WIN32K]
Don't check a pointer for being NULL after it has been dereferenced. CID 1102416 svn path=/trunk/; revision=63087
This commit is contained in:
@@ -362,8 +362,7 @@ EBRUSHOBJ_bRealizeBrush(EBRUSHOBJ *pebo, BOOL bCallDriver)
|
||||
EXLATEOBJ_vCleanup(&exlo);
|
||||
|
||||
/* Unlock surfaces */
|
||||
if (psurfPattern)
|
||||
SURFACE_ShareUnlockSurface(psurfPattern);
|
||||
SURFACE_ShareUnlockSurface(psurfPattern);
|
||||
if (psurfMask)
|
||||
SURFACE_ShareUnlockSurface(psurfMask);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user