Commit 0db63a02 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

gdiplus: Free memory after some Graphics tests.

parent ceb89792
......@@ -277,6 +277,8 @@ static void test_GdipDrawArc(void)
expect(Ok, status);
GdipDeletePen(pen);
GdipDeleteGraphics(graphics);
ReleaseDC(0, hdc);
}
......@@ -321,6 +323,8 @@ static void test_GdipDrawArcI(void)
expect(Ok, status);
GdipDeletePen(pen);
GdipDeleteGraphics(graphics);
ReleaseDC(0, hdc);
}
......@@ -359,6 +363,8 @@ static void test_GdipDrawBezierI(void)
expect(Ok, status);
GdipDeletePen(pen);
GdipDeleteGraphics(graphics);
ReleaseDC(0, hdc);
}
......@@ -397,6 +403,8 @@ static void test_GdipDrawLineI(void)
expect(Ok, status);
GdipDeletePen(pen);
GdipDeleteGraphics(graphics);
ReleaseDC(0, hdc);
}
......@@ -449,6 +457,8 @@ static void test_GdipDrawLinesI(void)
GdipFree(ptf);
GdipDeletePen(pen);
GdipDeleteGraphics(graphics);
ReleaseDC(0, hdc);
}
......
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