Commit 39dd4d25 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

gdiplus: Fix a memory leak in the tests.

Found by Valgrind.
parent 70742d5e
......@@ -63,6 +63,7 @@ static void test_constructor_destructor(void)
stat = GdipCreateCustomLineCap(path, NULL, LineCapFlat, 10.0, &custom);
todo_wine expect(NotImplemented, stat);
todo_wine ok(custom == NULL, "Expected a failure on creation\n");
if(stat == Ok) GdipDeleteCustomLineCap(custom);
GdipDeletePath(path2);
GdipDeletePath(path);
......
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