Author: tkreuzer Date: Sun Oct 24 11:57:02 2010 New Revision: 49257
URL: http://svn.reactos.org/svn/reactos?rev=49257&view=rev Log: [WIN32K] Fix possible NULL pointer free. Fixes solitaire.
Modified: branches/reactos-yarotows/subsystems/win32/win32k/objects/dibobj.c
Modified: branches/reactos-yarotows/subsystems/win32/win32k/objects/dibobj.c URL: http://svn.reactos.org/svn/reactos/branches/reactos-yarotows/subsystems/win3... ============================================================================== --- branches/reactos-yarotows/subsystems/win32/win32k/objects/dibobj.c [iso-8859-1] (original) +++ branches/reactos-yarotows/subsystems/win32/win32k/objects/dibobj.c [iso-8859-1] Sun Oct 24 11:57:02 2010 @@ -1264,7 +1264,7 @@ hcmXform);
cleanup: - ExFreePoolWithTag(safeBits, TAG_DIB); + if (safeBits) ExFreePoolWithTag(safeBits, TAG_DIB); return hbmResult; }