Nikolay Sivov : gdiplus/tests: Delete Pen object after use.
Alexandre Julliard
julliard at winehq.org
Mon Dec 7 10:26:15 CST 2009
Module: wine
Branch: master
Commit: 5b7fae2ea8052856899235e3e19198bac563e1e9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5b7fae2ea8052856899235e3e19198bac563e1e9
Author: Nikolay Sivov <bunglehead at gmail.com>
Date: Sat Dec 5 22:37:35 2009 +0300
gdiplus/tests: Delete Pen object after use.
---
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[] = {
More information about the wine-cvs
mailing list