Module: wine Branch: master Commit: 23456b690fe16807067eeea3c47db0c92776b1d8 URL: http://source.winehq.org/git/wine.git/?a=commit;h=23456b690fe16807067eeea3c4...
Author: Vincent Povirk vincent@codeweavers.com Date: Mon Dec 8 15:43:30 2008 -0600
gdiplus/tests: Fix a double-free in the graphics test.
Spotted by Lionel Debroux.
---
dlls/gdiplus/tests/graphics.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/dlls/gdiplus/tests/graphics.c b/dlls/gdiplus/tests/graphics.c index 5db3ca9..fd28d5e 100644 --- a/dlls/gdiplus/tests/graphics.c +++ b/dlls/gdiplus/tests/graphics.c @@ -743,7 +743,6 @@ static void test_Get_Release_DC(void) GdipDeleteBrush((GpBrush*)brush); GdipDeleteRegion(region); GdipDeleteMatrix(m); - GdipDeleteRegion(region);
ReleaseDC(0, hdc); }