mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +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…
Reference in a new issue