diff --git a/dlls/gdiplus/graphicspath.c b/dlls/gdiplus/graphicspath.c index 664cde2a17d..5b410d6bd38 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;