[3/6] gdiplus: free memory after some GraphicsPath test (try2)
Nikolay Sivov
bunglehead at gmail.com
Sat Aug 23 16:29:14 CDT 2008
Changelog:
- Correct some GraphicsPath tests
---
dlls/gdiplus/tests/graphicspath.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/dlls/gdiplus/tests/graphicspath.c b/dlls/gdiplus/tests/graphicspath.c
index d08b20b..5fad0b1 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)
--
1.4.4.4
More information about the wine-patches
mailing list