Commit ac23eb79 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

gdiplus: Free memory after some GraphicsPath tests.

parent 6e37ec6b
...@@ -214,6 +214,8 @@ static void test_line2(void) ...@@ -214,6 +214,8 @@ static void test_line2(void)
expect(Ok, status); expect(Ok, status);
ok_path(path, line2_path, sizeof(line2_path)/sizeof(path_test_t), FALSE); ok_path(path, line2_path, sizeof(line2_path)/sizeof(path_test_t), FALSE);
GdipDeletePath(path);
} }
static path_test_t arc_path[] = { static path_test_t arc_path[] = {
...@@ -283,6 +285,8 @@ static void test_arc(void) ...@@ -283,6 +285,8 @@ static void test_arc(void)
expect(Ok, status); expect(Ok, status);
ok_path(path, arc_path, sizeof(arc_path)/sizeof(path_test_t), FALSE); ok_path(path, arc_path, sizeof(arc_path)/sizeof(path_test_t), FALSE);
GdipDeletePath(path);
} }
static void test_worldbounds(void) static void test_worldbounds(void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment