- Fix a crash in WidenPath, tested with Area.exe.

svn path=/trunk/; revision=50986
This commit is contained in:
James Tabor 2011-03-07 06:24:38 +00:00
parent a393a04761
commit d53444e50b

View file

@ -1858,7 +1858,7 @@ PATH_WidenPath(DC *dc)
PATH_DestroyGdiPath(pDownPath); PATH_DestroyGdiPath(pDownPath);
ExFreePoolWithTag(pDownPath, TAG_PATH); ExFreePoolWithTag(pDownPath, TAG_PATH);
} }
ExFreePoolWithTag(pStrokes, TAG_PATH); if (pStrokes) ExFreePoolWithTag(pStrokes, TAG_PATH);
pNewPath->state = PATH_Closed; pNewPath->state = PATH_Closed;
if (!(ret = PATH_AssignGdiPath(pPath, pNewPath))) if (!(ret = PATH_AssignGdiPath(pPath, pNewPath)))