Nikolay Sivov : gdiplus/tests: Fix a matrix leak in test.
Alexandre Julliard
julliard at winehq.org
Wed Dec 9 10:46:28 CST 2009
Module: wine
Branch: master
Commit: 29357ec02440da7ed27ef790cad1e47a50bae974
URL: http://source.winehq.org/git/wine.git/?a=commit;h=29357ec02440da7ed27ef790cad1e47a50bae974
Author: Nikolay Sivov <bunglehead at gmail.com>
Date: Wed Dec 9 00:20:34 2009 +0300
gdiplus/tests: Fix a matrix leak in test.
---
dlls/gdiplus/tests/graphicspath.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/gdiplus/tests/graphicspath.c b/dlls/gdiplus/tests/graphicspath.c
index cbcf390..5f4a92e 100644
--- a/dlls/gdiplus/tests/graphicspath.c
+++ b/dlls/gdiplus/tests/graphicspath.c
@@ -410,6 +410,7 @@ static void test_worldbounds(void)
status = GdipGetPathWorldBounds(path, &bounds, matrix, NULL);
expect(Ok, status);
GdipDeletePath(path);
+ GdipDeleteMatrix(matrix);
expectf(-209.6, bounds.X);
expectf(-1274.8, bounds.Y);
More information about the wine-cvs
mailing list