Dereference the port object in PspExitThread.
Modified: trunk/reactos/ntoskrnl/ps/kill.c

Modified: trunk/reactos/ntoskrnl/ps/kill.c
--- trunk/reactos/ntoskrnl/ps/kill.c	2005-09-16 13:58:37 UTC (rev 17878)
+++ trunk/reactos/ntoskrnl/ps/kill.c	2005-09-16 14:50:25 UTC (rev 17879)
@@ -281,6 +281,7 @@
 
         /* Send the LPC Message */
         LpcSendTerminationPort(TerminationPort->Port, CurrentThread->CreateTime);
+        ObDereferenceObject(TerminationPort->Port);
 
         /* Free the Port */
         ExFreePool(TerminationPort);