Commit b18cc9f6 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

gdiplus: Fix a memory leak in the tests.

Found by Valgrind.
parent bdda6788
......@@ -1338,6 +1338,7 @@ static void test_Get_Release_DC(void)
GdipDeletePen(pen);
GdipDeleteGraphics(graphics);
GdipDeleteRegion(clip);
GdipDeletePath(path);
GdipDeleteBrush((GpBrush*)brush);
GdipDeleteRegion(region);
......
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