Commit daa46639 authored by Andrey Gusev's avatar Andrey Gusev Committed by Alexandre Julliard

user32/tests: Fix resource leak.

parent 027e2add
...@@ -2055,6 +2055,7 @@ static void test_Input_mouse(void) ...@@ -2055,6 +2055,7 @@ static void test_Input_mouse(void)
} }
SetEvent(thread_data.end_event); SetEvent(thread_data.end_event);
WaitForSingleObject(thread, INFINITE); WaitForSingleObject(thread, INFINITE);
CloseHandle(thread);
ok(hittest_no && hittest_no<50, "expected WM_NCHITTEST message\n"); ok(hittest_no && hittest_no<50, "expected WM_NCHITTEST message\n");
ok(!got_button_down, "unexpected WM_RBUTTONDOWN message\n"); ok(!got_button_down, "unexpected WM_RBUTTONDOWN message\n");
ok(!got_button_up, "unexpected WM_RBUTTONUP message\n"); ok(!got_button_up, "unexpected WM_RBUTTONUP message\n");
......
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