[PATCH 9/9] Delete Pen object after use

Nikolay Sivov bunglehead at gmail.com
Sat Dec 5 13:37:35 CST 2009


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

diff --git a/dlls/gdiplus/tests/graphicspath.c b/dlls/gdiplus/tests/graphicspath.c
index 6e257eb..cbcf390 100644
--- a/dlls/gdiplus/tests/graphicspath.c
+++ b/dlls/gdiplus/tests/graphicspath.c
@@ -415,6 +415,8 @@ static void test_worldbounds(void)
     expectf(-1274.8, bounds.Y);
     expectf(705.0, bounds.Width);
     expectf(945.0, bounds.Height);
+
+    GdipDeletePen(pen);
 }
 
 static path_test_t pathpath_path[] = {
-- 
1.5.6.5


--=-l3kvfX7MF1aSzlrSjMjL--




More information about the wine-patches mailing list