[PATCH] user32/tests: Fix resource leak.

Andrey Gusev andrey.goosev at gmail.com
Fri Jan 5 06:37:28 CST 2018


Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
---
 dlls/user32/tests/win.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/user32/tests/win.c b/dlls/user32/tests/win.c
index f9472ecfa5..f492eccca3 100644
--- a/dlls/user32/tests/win.c
+++ b/dlls/user32/tests/win.c
@@ -9400,6 +9400,7 @@ static void test_smresult(void)
     CloseHandle(data.thread_got_wm_app);
     CloseHandle(data.main_in_wm_app_1);
     CloseHandle(data.thread_replied);
+    CloseHandle(hThread);
 }
 
 static void test_GetMessagePos(void)
-- 
2.13.6




More information about the wine-devel mailing list