[PATCH] gdiplus/tests: Fix region leak (Coverity)
Nikolay Sivov
nsivov at codeweavers.com
Sun Aug 12 14:38:36 CDT 2018
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/gdiplus/tests/graphics.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/gdiplus/tests/graphics.c b/dlls/gdiplus/tests/graphics.c
index 5eb0a8a4d0..b0e3d8232b 100644
--- a/dlls/gdiplus/tests/graphics.c
+++ b/dlls/gdiplus/tests/graphics.c
@@ -2194,6 +2194,7 @@ static void test_clip_xform(void)
expect(0xff, color);
GdipDeleteGraphics(graphics);
+ GdipDeleteRegion(clip);
ReleaseDC(hwnd, hdc);
}
--
2.18.0
More information about the wine-devel
mailing list