Removed warnings from freeing path in DeleteDC.
This commit is contained in:
parent
7d6e9a1ab0
commit
ebe7831a75
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue