Author: tkreuzer
Date: Thu May 1 08:30:41 2014
New Revision: 63087
URL:
http://svn.reactos.org/svn/reactos?rev=63087&view=rev
Log:
[WIN32K]
Don't check a pointer for being NULL after it has been dereferenced.
CID 1102416
Modified:
trunk/reactos/win32ss/gdi/eng/engbrush.c
Modified: trunk/reactos/win32ss/gdi/eng/engbrush.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/eng/engbrush.c…
==============================================================================
--- trunk/reactos/win32ss/gdi/eng/engbrush.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/gdi/eng/engbrush.c [iso-8859-1] Thu May 1 08:30:41 2014
@@ -362,8 +362,7 @@
EXLATEOBJ_vCleanup(&exlo);
/* Unlock surfaces */
- if (psurfPattern)
- SURFACE_ShareUnlockSurface(psurfPattern);
+ SURFACE_ShareUnlockSurface(psurfPattern);
if (psurfMask)
SURFACE_ShareUnlockSurface(psurfMask);