[NTOS:EX]

- Don't leak process reference in NtFlushInstructionCache. Spotted by Stefan

svn path=/trunk/; revision=68881
This commit is contained in:
Thomas Faber 2015-08-31 13:53:14 +00:00
parent 847346ed85
commit ac0593b71d

View file

@ -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;