Andrey Gusev : user32/tests: Fix resource leak.

Alexandre Julliard julliard at winehq.org
Fri Jan 5 14:02:03 CST 2018


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

Author: Andrey Gusev <andrey.goosev at gmail.com>
Date:   Fri Jan  5 14:37:28 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/win.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/user32/tests/win.c b/dlls/user32/tests/win.c
index f9472ec..f492ecc 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)




More information about the wine-cvs mailing list