Commit ebe7831a authored by Rob Farnum's avatar Rob Farnum Committed by Alexandre Julliard

Removed warnings from freeing path in DeleteDC.

parent 7d6e9a1a
......@@ -540,8 +540,8 @@ void PATH_DestroyGdiPath(GdiPath *pPath)
{
assert(pPath!=NULL);
HeapFree( GetProcessHeap(), 0, pPath->pPoints );
HeapFree( GetProcessHeap(), 0, pPath->pFlags );
if (pPath->pPoints) HeapFree( GetProcessHeap(), 0, pPath->pPoints );
if (pPath->pFlags) HeapFree( GetProcessHeap(), 0, pPath->pFlags );
}
/* PATH_AssignGdiPath
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment