From 5abd794cd0b695d6eed77498de9b10f40d1cf683 Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Sat, 6 Dec 2008 19:35:54 +0000 Subject: [PATCH] - Fix a potential case of non-paged pool memory double freeing. Spotted by Michael Martin. svn path=/trunk/; revision=37905 --- reactos/ntoskrnl/ps/kill.c | 1 - 1 file changed, 1 deletion(-) diff --git a/reactos/ntoskrnl/ps/kill.c b/reactos/ntoskrnl/ps/kill.c index 488deff0ec8..549cae52e68 100644 --- a/reactos/ntoskrnl/ps/kill.c +++ b/reactos/ntoskrnl/ps/kill.c @@ -991,7 +991,6 @@ PspTerminateThreadByPointer(IN PETHREAD Thread, if (!KeInsertQueueApc(Apc, Apc, NULL, 2)) { /* The APC was already in the queue, fail */ - ExFreePool(Apc); Status = STATUS_UNSUCCESSFUL; } else