gdiplus: Fix a memory leak in the tests.

Found by Valgrind.
This commit is contained in:
Huw Davies 2009-12-15 11:28:12 +00:00 committed by Alexandre Julliard
parent bdda678803
commit b18cc9f680
1 changed files with 1 additions and 0 deletions

View File

@ -1338,6 +1338,7 @@ static void test_Get_Release_DC(void)
GdipDeletePen(pen);
GdipDeleteGraphics(graphics);
GdipDeleteRegion(clip);
GdipDeletePath(path);
GdipDeleteBrush((GpBrush*)brush);
GdipDeleteRegion(region);