Removed warnings from freeing path in DeleteDC.

This commit is contained in:
Rob Farnum 2000-05-05 18:25:29 +00:00 committed by Alexandre Julliard
parent 7d6e9a1ab0
commit ebe7831a75
1 changed files with 2 additions and 2 deletions

View File

@ -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