commit | ebe7831a75cb837f29fa5f26c39db216ddb78616 | [log] [tgz] |
---|---|---|
author | Rob Farnum <robf@twinux.com> | Fri May 05 18:25:29 2000 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Fri May 05 18:25:29 2000 +0000 |
tree | 45ad534fe54c336ef0e70ab0ca8d181a6584a4b7 | |
parent | 7d6e9a1ab09d7800a8ee6e2f9a9d3eb8e1807d76 [diff] [blame] |
Removed warnings from freeing path in DeleteDC.
diff --git a/graphics/path.c b/graphics/path.c index a6b445c..5ae3779 100644 --- a/graphics/path.c +++ b/graphics/path.c
@@ -540,8 +540,8 @@ { 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