Commit 160f5b23 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

gdiplus/tests: Fix matrix leak (Valgrind).

parent d56c576b
...@@ -164,6 +164,7 @@ static void test_invert(void) ...@@ -164,6 +164,7 @@ static void test_invert(void)
GdipCreateMatrix2(2.0/16.0, 2.0/16.0, -5.0/16.0, 3.0/16.0, 3.0/16.0, -21.0/16.0, &inverted); GdipCreateMatrix2(2.0/16.0, 2.0/16.0, -5.0/16.0, 3.0/16.0, 3.0/16.0, -21.0/16.0, &inverted);
GdipIsMatrixEqual(matrix, inverted, &equal); GdipIsMatrixEqual(matrix, inverted, &equal);
expect(TRUE, equal); expect(TRUE, equal);
GdipDeleteMatrix(matrix);
GdipCreateMatrix2(0.0006, 0, 0, 0.0006, 400, 400, &matrix); GdipCreateMatrix2(0.0006, 0, 0, 0.0006, 400, 400, &matrix);
status = GdipInvertMatrix(matrix); status = GdipInvertMatrix(matrix);
......
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