Module: wine Branch: master Commit: c4dd0ff5ec93c5751669634fc0625d31e1e2486b URL: https://source.winehq.org/git/wine.git/?a=commit;h=c4dd0ff5ec93c5751669634fc...
Author: Andrey Gusev andrey.goosev@gmail.com Date: Thu Jan 4 11:22:52 2018 +0200
ntdll/tests: Fix resource leak.
Signed-off-by: Andrey Gusev andrey.goosev@gmail.com Signed-off-by: Alexandre Julliard julliard@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);