Commit e9eceb5f authored by Evan Stade's avatar Evan Stade Committed by Alexandre Julliard

gdiplus: Fixed memory leak in GdipDeletePath.

parent 78510e70
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment