projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e601c83
)
release the keep-alive reference of the process object
author
Thomas Bluemel
<thomas@reactsoft.com>
Sat, 29 Oct 2005 22:58:14 +0000
(22:58 +0000)
committer
Thomas Bluemel
<thomas@reactsoft.com>
Sat, 29 Oct 2005 22:58:14 +0000
(22:58 +0000)
svn path=/trunk/; revision=18861
reactos/ntoskrnl/ps/kill.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/ps/kill.c
b/reactos/ntoskrnl/ps/kill.c
index
7cb6764
..
6e4b8a7
100644
(file)
--- a/
reactos/ntoskrnl/ps/kill.c
+++ b/
reactos/ntoskrnl/ps/kill.c
@@
-524,6
+524,9
@@
PspExitProcess(PEPROCESS Process)
ObKillProcess(Process);
KeSetProcess(&Process->Pcb, IO_NO_INCREMENT);
+
+ /* release the keep-alive reference of the process object */
+ ObDereferenceObject(Process);
return(STATUS_SUCCESS);
}