mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
release the keep-alive reference of the process object
svn path=/trunk/; revision=18861
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user