Module: wine Branch: master Commit: b18cc9f680e522c9e7f7321d07688a77c3ab127f URL: http://source.winehq.org/git/wine.git/?a=commit;h=b18cc9f680e522c9e7f7321d07...
Author: Huw Davies huw@codeweavers.com Date: Tue Dec 15 11:28:12 2009 +0000
gdiplus: Fix a memory leak in the tests.
Found by Valgrind.
---
dlls/gdiplus/tests/graphics.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/gdiplus/tests/graphics.c b/dlls/gdiplus/tests/graphics.c index 2a03aad..45bd9f7 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);