Andrey Gusev : user32/tests: Fix resource leak.

Alexandre Julliard julliard at winehq.org
Wed Jan 3 16:39:34 CST 2018


Module: wine
Branch: master
Commit: daa46639809a6ff677242f16a3a4b89ab7421557
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=daa46639809a6ff677242f16a3a4b89ab7421557

Author: Andrey Gusev <andrey.goosev at gmail.com>
Date:   Wed Jan  3 17:36:03 2018 +0200

user32/tests: Fix resource leak.

Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/user32/tests/input.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/user32/tests/input.c b/dlls/user32/tests/input.c
index 030592b..e52f7d2 100644
--- a/dlls/user32/tests/input.c
+++ b/dlls/user32/tests/input.c
@@ -2055,6 +2055,7 @@ static void test_Input_mouse(void)
     }
     SetEvent(thread_data.end_event);
     WaitForSingleObject(thread, INFINITE);
+    CloseHandle(thread);
     ok(hittest_no && hittest_no<50, "expected WM_NCHITTEST message\n");
     ok(!got_button_down, "unexpected WM_RBUTTONDOWN message\n");
     ok(!got_button_up, "unexpected WM_RBUTTONUP message\n");




More information about the wine-cvs mailing list