gdiplus: Fixed memory leak in GdipDeletePath.
This commit is contained in:
parent
78510e70e7
commit
e9eceb5f31
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue