Commit 4967d200 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

oleacc/tests: Fix test windows cleanup.

parent 2c9fbf83
......@@ -1324,6 +1324,7 @@ static void test_AccessibleObjectFromPoint(void)
if (WindowFromPoint(point) != hwnd)
{
win_skip("test window not returned from WindowFromPoint\n");
DestroyWindow(hwnd);
return;
}
......@@ -1358,6 +1359,7 @@ static void test_AccessibleObjectFromPoint(void)
if (WindowFromPoint(point) != child)
{
win_skip("test window not returned from WindowFromPoint\n");
DestroyWindow(hwnd);
return;
}
......@@ -1464,7 +1466,7 @@ static void test_CreateStdAccessibleObject_classes(void)
IAccessible_Release(acc);
SetWindowLongPtrW(hwnd, GWLP_WNDPROC, (LONG_PTR)win_proc);
CloseWindow(hwnd);
DestroyWindow(hwnd);
winetest_pop_context();
}
}
......
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