mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
Dereference the port object in PspExitThread.
svn path=/trunk/; revision=17879
This commit is contained in:
parent
50aaff9bd3
commit
0e07f15c6a
1 changed files with 1 additions and 0 deletions
|
@ -281,6 +281,7 @@ PspExitThread(NTSTATUS ExitStatus)
|
|||
|
||||
/* Send the LPC Message */
|
||||
LpcSendTerminationPort(TerminationPort->Port, CurrentThread->CreateTime);
|
||||
ObDereferenceObject(TerminationPort->Port);
|
||||
|
||||
/* Free the Port */
|
||||
ExFreePool(TerminationPort);
|
||||
|
|
Loading…
Reference in a new issue