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);
|
GdipDeleteBrush((GpBrush*)brush);
|
||||||
GdipDeleteRegion(region);
|
GdipDeleteRegion(region);
|
||||||
GdipDeleteMatrix(m);
|
GdipDeleteMatrix(m);
|
||||||
GdipDeleteRegion(region);
|
|
||||||
|
|
||||||
ReleaseDC(0, hdc);
|
ReleaseDC(0, hdc);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user