mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +00:00
release the keep-alive reference of the process object
svn path=/trunk/; revision=18861
This commit is contained in:
parent
e601c831b9
commit
cdea367eef
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue