https://git.reactos.org/?p=reactos.git;a=commitdiff;h=7851ad8635f145d12d190…
commit 7851ad8635f145d12d190183789a06a6c4733b29
Author: Serge Gautherie <reactos-git_serge_171003(a)gautherie.fr>
AuthorDate: Thu Nov 12 01:22:46 2020 +0100
Commit: Jérôme Gardou <zefklop(a)users.noreply.github.com>
CommitDate: Wed Mar 3 09:01:37 2021 +0100
[NTOS:KD] KdpDebugLogInit(): Close the thread handle
Addendum to 07dc415 (r43331).
---
ntoskrnl/kd/kdio.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ntoskrnl/kd/kdio.c b/ntoskrnl/kd/kdio.c
index 9804b52b50c..af7accb3afc 100644
--- a/ntoskrnl/kd/kdio.c
+++ b/ntoskrnl/kd/kdio.c
@@ -296,6 +296,8 @@ KdpDebugLogInit(PKD_DISPATCH_TABLE DispatchTable,
ThreadPriority,
&Priority,
sizeof(Priority));
+
+ ZwClose(ThreadHandle);
}
}