gdiplus: Fix leak in widen_dashed_figure.
Vincent Povirk
vincent at codeweavers.com
Thu Jul 13 13:56:14 CDT 2017
For bug 43341.
Signed-off-by: Vincent Povirk <vincent at codeweavers.com>
---
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);
}
--
2.7.4
More information about the wine-patches
mailing list