[PATCH 1/1] Fix a matrix leak in test

Nikolay Sivov bunglehead at gmail.com
Tue Dec 8 15:20:34 CST 2009


---
 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);
-- 
1.5.6.5


--=-/CJJw/X7HAUtMYF5JdD6--




More information about the wine-patches mailing list