projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
847346e
)
[NTOS:EX]
author
Thomas Faber
<thomas.faber@reactos.org>
Mon, 31 Aug 2015 13:53:14 +0000
(13:53 +0000)
committer
Thomas Faber
<thomas.faber@reactos.org>
Mon, 31 Aug 2015 13:53:14 +0000
(13:53 +0000)
- Don't leak process reference in NtFlushInstructionCache. Spotted by Stefan
svn path=/trunk/; revision=68881
reactos/ntoskrnl/ex/sysinfo.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/ex/sysinfo.c
b/reactos/ntoskrnl/ex/sysinfo.c
index
0d30d59
..
3f5bf6f
100644
(file)
--- a/
reactos/ntoskrnl/ex/sysinfo.c
+++ b/
reactos/ntoskrnl/ex/sysinfo.c
@@
-2605,6
+2605,7
@@
NtFlushInstructionCache(
{
/* Detach from the process */
KeUnstackDetachProcess(&ApcState);
+ ObDereferenceObject(Process);
}
return STATUS_SUCCESS;