From 9f22041b31e6656a38aa92dcc1757fd7f5b07847 Mon Sep 17 00:00:00 2001 From: Vincent Povirk Date: Thu, 13 Jul 2017 13:56:14 -0500 Subject: [PATCH] gdiplus: Fix leak in widen_dashed_figure. Signed-off-by: Vincent Povirk Signed-off-by: Alexandre Julliard --- dlls/gdiplus/graphicspath.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/gdiplus/graphicspath.c b/dlls/gdiplus/graphicspath.c index 458019fd640..e19053214f6 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); }