Author: tfaber
Date: Mon Aug 31 13:53:14 2015
New Revision: 68881
URL:
http://svn.reactos.org/svn/reactos?rev=68881&view=rev
Log:
[NTOS:EX]
- Don't leak process reference in NtFlushInstructionCache. Spotted by Stefan
Modified:
trunk/reactos/ntoskrnl/ex/sysinfo.c
Modified: trunk/reactos/ntoskrnl/ex/sysinfo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ex/sysinfo.c?rev=…
==============================================================================
--- trunk/reactos/ntoskrnl/ex/sysinfo.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ex/sysinfo.c [iso-8859-1] Mon Aug 31 13:53:14 2015
@@ -2605,6 +2605,7 @@
{
/* Detach from the process */
KeUnstackDetachProcess(&ApcState);
+ ObDereferenceObject(Process);
}
return STATUS_SUCCESS;