gdiplus: Fix a memory leak in the tests.
Found by Valgrind.
This commit is contained in:
parent
bdda678803
commit
b18cc9f680
|
@ -1338,6 +1338,7 @@ static void test_Get_Release_DC(void)
|
|||
GdipDeletePen(pen);
|
||||
GdipDeleteGraphics(graphics);
|
||||
|
||||
GdipDeleteRegion(clip);
|
||||
GdipDeletePath(path);
|
||||
GdipDeleteBrush((GpBrush*)brush);
|
||||
GdipDeleteRegion(region);
|
||||
|
|
Loading…
Reference in New Issue