release the keep-alive reference of the process object

svn path=/trunk/; revision=18861
This commit is contained in:
Thomas Bluemel 2005-10-29 22:58:14 +00:00
parent e601c831b9
commit cdea367eef

View file

@ -525,6 +525,9 @@ PspExitProcess(PEPROCESS Process)
KeSetProcess(&Process->Pcb, IO_NO_INCREMENT);
/* release the keep-alive reference of the process object */
ObDereferenceObject(Process);
return(STATUS_SUCCESS);
}