mirror of
https://github.com/reactos/reactos.git
synced 2025-07-07 11:08:02 +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
|
@ -525,6 +525,9 @@ PspExitProcess(PEPROCESS Process)
|
||||||
|
|
||||||
KeSetProcess(&Process->Pcb, IO_NO_INCREMENT);
|
KeSetProcess(&Process->Pcb, IO_NO_INCREMENT);
|
||||||
|
|
||||||
|
/* release the keep-alive reference of the process object */
|
||||||
|
ObDereferenceObject(Process);
|
||||||
|
|
||||||
return(STATUS_SUCCESS);
|
return(STATUS_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue