Andrey Gusev : ntdll/tests: Fix resource leak.
Alexandre Julliard
julliard at winehq.org
Thu Jan 4 17:03:21 CST 2018
Module: wine
Branch: master
Commit: c4dd0ff5ec93c5751669634fc0625d31e1e2486b
URL: https://source.winehq.org/git/wine.git/?a=commit;h=c4dd0ff5ec93c5751669634fc0625d31e1e2486b
Author: Andrey Gusev <andrey.goosev at gmail.com>
Date: Thu Jan 4 11:22:52 2018 +0200
ntdll/tests: Fix resource leak.
Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ntdll/tests/atom.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/ntdll/tests/atom.c b/dlls/ntdll/tests/atom.c
index 972a54e..a481758 100644
--- a/dlls/ntdll/tests/atom.c
+++ b/dlls/ntdll/tests/atom.c
@@ -179,6 +179,7 @@ static void test_NtAtom(void)
testThread = CreateThread(NULL, 0, RtlAtomTestThread, &AtomTable, 0, NULL);
WaitForSingleObject(testThread, INFINITE);
+ CloseHandle(testThread);
Len = 64;
res = pRtlQueryAtomInAtomTable(AtomTable, Atom2, &RefCount, &PinCount, Name, &Len);
More information about the wine-cvs
mailing list