mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 07:56:59 +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))
|
if (!KeInsertQueueApc(Apc, Apc, NULL, 2))
|
||||||
{
|
{
|
||||||
/* The APC was already in the queue, fail */
|
/* The APC was already in the queue, fail */
|
||||||
ExFreePool(Apc);
|
|
||||||
Status = STATUS_UNSUCCESSFUL;
|
Status = STATUS_UNSUCCESSFUL;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue