release the keep-alive reference of the process object
Modified: trunk/reactos/ntoskrnl/ps/kill.c

Modified: trunk/reactos/ntoskrnl/ps/kill.c
--- trunk/reactos/ntoskrnl/ps/kill.c	2005-10-29 22:15:10 UTC (rev 18860)
+++ trunk/reactos/ntoskrnl/ps/kill.c	2005-10-29 22:58:14 UTC (rev 18861)
@@ -524,6 +524,9 @@
     ObKillProcess(Process);
 
     KeSetProcess(&Process->Pcb, IO_NO_INCREMENT);
+    
+    /* release the keep-alive reference of the process object */
+    ObDereferenceObject(Process);
 
     return(STATUS_SUCCESS);
 }