Commit 29357ec0 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

gdiplus/tests: Fix a matrix leak in test.

parent 6894d841
...@@ -410,6 +410,7 @@ static void test_worldbounds(void) ...@@ -410,6 +410,7 @@ static void test_worldbounds(void)
status = GdipGetPathWorldBounds(path, &bounds, matrix, NULL); status = GdipGetPathWorldBounds(path, &bounds, matrix, NULL);
expect(Ok, status); expect(Ok, status);
GdipDeletePath(path); GdipDeletePath(path);
GdipDeleteMatrix(matrix);
expectf(-209.6, bounds.X); expectf(-209.6, bounds.X);
expectf(-1274.8, bounds.Y); expectf(-1274.8, bounds.Y);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment