Evan Stade : gdiplus: Fixed memory leak in GdipDeletePath.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Jul 12 08:32:40 CDT 2007
Module: wine
Branch: master
Commit: e9eceb5f313180e6bf9a5b893df9a9e64cbb9a5d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e9eceb5f313180e6bf9a5b893df9a9e64cbb9a5d
Author: Evan Stade <estade at gmail.com>
Date: Wed Jul 11 18:08:14 2007 -0700
gdiplus: Fixed memory leak in GdipDeletePath.
---
dlls/gdiplus/graphicspath.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
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(GpPath *path)
if(!path)
return InvalidParameter;
+ GdipFree(path->pathdata.Points);
+ GdipFree(path->pathdata.Types);
GdipFree(path);
return Ok;
More information about the wine-cvs
mailing list