Module: wine Branch: master Commit: 9f22041b31e6656a38aa92dcc1757fd7f5b07847 URL: http://source.winehq.org/git/wine.git/?a=commit;h=9f22041b31e6656a38aa92dcc1...
Author: Vincent Povirk vincent@codeweavers.com Date: Thu Jul 13 13:56:14 2017 -0500
gdiplus: Fix leak in widen_dashed_figure.
Signed-off-by: Vincent Povirk vincent@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/gdiplus/graphicspath.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/gdiplus/graphicspath.c b/dlls/gdiplus/graphicspath.c index 458019f..e190532 100644 --- a/dlls/gdiplus/graphicspath.c +++ b/dlls/gdiplus/graphicspath.c @@ -2187,6 +2187,7 @@ static void widen_dashed_figure(GpPath *path, GpPen *pen, int start, int end, closed ? LineCapFlat : pen->endcap, pen->customend, last_point); }
+ heap_free(dash_pattern_scaled); heap_free(tmp_points); }