Author: fireball
Date: Sat Dec 6 13:35:54 2008
New Revision: 37905
URL:
http://svn.reactos.org/svn/reactos?rev=37905&view=rev
Log:
- Fix a potential case of non-paged pool memory double freeing. Spotted by Michael
Martin.
Modified:
trunk/reactos/ntoskrnl/ps/kill.c
Modified: trunk/reactos/ntoskrnl/ps/kill.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ps/kill.c?rev=379…
==============================================================================
--- trunk/reactos/ntoskrnl/ps/kill.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ps/kill.c [iso-8859-1] Sat Dec 6 13:35:54 2008
@@ -991,7 +991,6 @@
if (!KeInsertQueueApc(Apc, Apc, NULL, 2))
{
/* The APC was already in the queue, fail */
- ExFreePool(Apc);
Status = STATUS_UNSUCCESSFUL;
}
else