gdiplus/tests: Fix a double-free in the graphics test.
Spotted by Lionel Debroux.
This commit is contained in:
parent
6a19aa6b66
commit
23456b690f
|
@ -743,7 +743,6 @@ static void test_Get_Release_DC(void)
|
|||
GdipDeleteBrush((GpBrush*)brush);
|
||||
GdipDeleteRegion(region);
|
||||
GdipDeleteMatrix(m);
|
||||
GdipDeleteRegion(region);
|
||||
|
||||
ReleaseDC(0, hdc);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue