mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
- Fix a potential case of non-paged pool memory double freeing. Spotted by Michael Martin.
svn path=/trunk/; revision=37905
This commit is contained in:
parent
d610c156c6
commit
5abd794cd0
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue