mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 22:52:54 +00:00
[NTOS:EX]
- Don't leak process reference in NtFlushInstructionCache. Spotted by Stefan svn path=/trunk/; revision=68881
This commit is contained in:
parent
847346ed85
commit
ac0593b71d
1 changed files with 1 additions and 0 deletions
|
@ -2605,6 +2605,7 @@ NtFlushInstructionCache(
|
||||||
{
|
{
|
||||||
/* Detach from the process */
|
/* Detach from the process */
|
||||||
KeUnstackDetachProcess(&ApcState);
|
KeUnstackDetachProcess(&ApcState);
|
||||||
|
ObDereferenceObject(Process);
|
||||||
}
|
}
|
||||||
|
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue