[ros-diffs] [fireball] 37905: - Fix a potential case of non-paged pool memory double freeing. Spotted by Michael Martin.

fireball at svn.reactos.org fireball at svn.reactos.org
Sat Dec 6 20:35:55 CET 2008


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=37905&r1=37904&r2=37905&view=diff
==============================================================================
--- 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



More information about the Ros-diffs mailing list