mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 18:04:21 +00:00
gdiplus/tests: Fix region leak (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Vincent Povirk <vincent@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
0e7fa90068
commit
371c43550c
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue