From b18cc9f680e522c9e7f7321d07688a77c3ab127f Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Tue, 15 Dec 2009 11:28:12 +0000 Subject: [PATCH] gdiplus: Fix a memory leak in the tests. Found by Valgrind. --- 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 2a03aadb177..45bd9f7871b 100644 --- a/dlls/gdiplus/tests/graphics.c +++ b/dlls/gdiplus/tests/graphics.c @@ -1338,6 +1338,7 @@ static void test_Get_Release_DC(void) GdipDeletePen(pen); GdipDeleteGraphics(graphics); + GdipDeleteRegion(clip); GdipDeletePath(path); GdipDeleteBrush((GpBrush*)brush); GdipDeleteRegion(region);