From ac23eb793996ba698ccfe607aaea925391d8d0fb Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Sun, 24 Aug 2008 14:45:09 +0400 Subject: [PATCH] gdiplus: Free memory after some GraphicsPath tests. --- dlls/gdiplus/tests/graphicspath.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dlls/gdiplus/tests/graphicspath.c b/dlls/gdiplus/tests/graphicspath.c index d08b20b8411..5fad0b1e8a6 100644 --- a/dlls/gdiplus/tests/graphicspath.c +++ b/dlls/gdiplus/tests/graphicspath.c @@ -214,6 +214,8 @@ static void test_line2(void) expect(Ok, status); ok_path(path, line2_path, sizeof(line2_path)/sizeof(path_test_t), FALSE); + + GdipDeletePath(path); } static path_test_t arc_path[] = { @@ -283,6 +285,8 @@ static void test_arc(void) expect(Ok, status); ok_path(path, arc_path, sizeof(arc_path)/sizeof(path_test_t), FALSE); + + GdipDeletePath(path); } static void test_worldbounds(void)