Author: jimtabor
Date: Mon Mar 7 06:24:38 2011
New Revision: 50986
URL:
http://svn.reactos.org/svn/reactos?rev=50986&view=rev
Log:
[Win32k]
- Fix a crash in WidenPath, tested with Area.exe.
Modified:
trunk/reactos/subsystems/win32/win32k/objects/path.c
Modified: trunk/reactos/subsystems/win32/win32k/objects/path.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/path.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/path.c [iso-8859-1] Mon Mar 7 06:24:38
2011
@@ -1858,7 +1858,7 @@
PATH_DestroyGdiPath(pDownPath);
ExFreePoolWithTag(pDownPath, TAG_PATH);
}
- ExFreePoolWithTag(pStrokes, TAG_PATH);
+ if (pStrokes) ExFreePoolWithTag(pStrokes, TAG_PATH);
pNewPath->state = PATH_Closed;
if (!(ret = PATH_AssignGdiPath(pPath, pNewPath)))