mirror of
https://github.com/reactos/reactos.git
synced 2026-09-14 13:50:25 +08: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