Skip to content
Snippets Groups Projects
Commit 371c4355 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard
Browse files

gdiplus/tests: Fix region leak (Valgrind).

parent 0e7fa900
No related branches found
No related tags found
No related merge requests found
......@@ -147,6 +147,8 @@ static void test_region_data(DWORD *data, UINT size, INT line)
/* some Windows versions fail to properly clear the aligned DWORD */
ok_(__FILE__, line)(data[size - 1] == buf[size - 1] || broken(data[size - 1] != buf[size - 1]),
"off %u: %#x != %#x\n", size - 1, data[size - 1], buf[size - 1]);
GdipDeleteRegion(region);
}
static void test_getregiondata(void)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment