Nikolay Sivov : gdiplus: Free memory after some GraphicsPath tests.

Alexandre Julliard julliard at winehq.org
Mon Aug 25 06:20:33 CDT 2008


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

Author: Nikolay Sivov <bunglehead at gmail.com>
Date:   Sun Aug 24 14:45:09 2008 +0400

gdiplus: Free memory after some GraphicsPath tests.

---

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

diff --git a/dlls/gdiplus/tests/graphicspath.c b/dlls/gdiplus/tests/graphicspath.c
index d08b20b..5fad0b1 100644
--- a/dlls/gdiplus/tests/graphicspath.c
+++ b/dlls/gdiplus/tests/graphicspath.c
@@ -214,6 +214,8 @@ static void test_line2(void)
     expect(Ok, status);
 
     ok_path(path, line2_path, sizeof(line2_path)/sizeof(path_test_t), FALSE);
+
+    GdipDeletePath(path);
 }
 
 static path_test_t arc_path[] = {
@@ -283,6 +285,8 @@ static void test_arc(void)
     expect(Ok, status);
 
     ok_path(path, arc_path, sizeof(arc_path)/sizeof(path_test_t), FALSE);
+
+    GdipDeletePath(path);
 }
 
 static void test_worldbounds(void)




More information about the wine-cvs mailing list