Vincent Povirk : gdiplus/tests: Fix a double-free in the region test.

Alexandre Julliard julliard at winehq.org
Tue Dec 9 06:24:24 CST 2008


Module: wine
Branch: master
Commit: 6a19aa6b6630c7bdf44388311cb2c9ef4bc66351
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6a19aa6b6630c7bdf44388311cb2c9ef4bc66351

Author: Vincent Povirk <vincent at codeweavers.com>
Date:   Mon Dec  8 15:38:53 2008 -0600

gdiplus/tests: Fix a double-free in the region test.

---

 dlls/gdiplus/tests/region.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/dlls/gdiplus/tests/region.c b/dlls/gdiplus/tests/region.c
index 1373634..9ac0e9a 100644
--- a/dlls/gdiplus/tests/region.c
+++ b/dlls/gdiplus/tests/region.c
@@ -670,7 +670,6 @@ static void test_combinereplace(void)
     expect_magic((DWORD*)(buf + 2));
     expect_dword(buf + 3, 0);
     expect_dword(buf + 4, RGNDATA_INFINITE_RECT);
-    GdipDeletePath(path);
     GdipDeleteRegion(region2);
 
     /* more complex case : replace with a combined region */




More information about the wine-cvs mailing list