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);
|
GdipDeletePen(pen);
|
||||||
GdipDeleteGraphics(graphics);
|
GdipDeleteGraphics(graphics);
|
||||||
|
|
||||||
|
GdipDeleteRegion(clip);
|
||||||
GdipDeletePath(path);
|
GdipDeletePath(path);
|
||||||
GdipDeleteBrush((GpBrush*)brush);
|
GdipDeleteBrush((GpBrush*)brush);
|
||||||
GdipDeleteRegion(region);
|
GdipDeleteRegion(region);
|
||||||
|
|
Loading…
Reference in New Issue