gdiplus/tests: Fix region leak (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Vincent Povirk <vincent@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6387476d99
commit
a9bc0fec92
|
@ -2194,6 +2194,7 @@ static void test_clip_xform(void)
|
|||
expect(0xff, color);
|
||||
|
||||
GdipDeleteGraphics(graphics);
|
||||
GdipDeleteRegion(clip);
|
||||
ReleaseDC(hwnd, hdc);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue