Dereference the port object in PspExitThread.

svn path=/trunk/; revision=17879
This commit is contained in:
Hartmut Birr 2005-09-16 14:50:25 +00:00
parent 50aaff9bd3
commit 0e07f15c6a

View file

@ -281,6 +281,7 @@ PspExitThread(NTSTATUS ExitStatus)
/* Send the LPC Message */
LpcSendTerminationPort(TerminationPort->Port, CurrentThread->CreateTime);
ObDereferenceObject(TerminationPort->Port);
/* Free the Port */
ExFreePool(TerminationPort);