[16/18] gdiplus: update/fix GdipDeletePath
Evan Stade
estade at gmail.com
Wed Jul 11 20:08:14 CDT 2007
Hi,
Changelog:
*fixed memory leak in GdipDeletePath (should have been included with
GdipAddPathLine2 patch)
dlls/gdiplus/graphicspath.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
--
Evan Stade
-------------- next part --------------
diff --git a/dlls/gdiplus/graphicspath.c b/dlls/gdiplus/graphicspath.c
index 664cde2..5b410d6 100644
--- a/dlls/gdiplus/graphicspath.c
+++ b/dlls/gdiplus/graphicspath.c
@@ -172,6 +172,8 @@ GpStatus WINGDIPAPI GdipDeletePath(GpPat
if(!path)
return InvalidParameter;
+ GdipFree(path->pathdata.Points);
+ GdipFree(path->pathdata.Types);
GdipFree(path);
return Ok;
--
1.4.1
More information about the wine-patches
mailing list