gdiplus: Fixed memory leak in GdipDeletePath.

This commit is contained in:
Evan Stade 2007-07-11 18:08:14 -07:00 committed by Alexandre Julliard
parent 78510e70e7
commit e9eceb5f31
1 changed files with 2 additions and 0 deletions

View File

@ -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;