[PATCH] ntdll/tests: Fix resource leak.
Andrey Gusev
andrey.goosev at gmail.com
Thu Jan 4 03:22:52 CST 2018
Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
---
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 972a54ea9c..a481758ee6 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);
--
2.13.6
More information about the wine-devel
mailing list