mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +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 */
|
/* Send the LPC Message */
|
||||||
LpcSendTerminationPort(TerminationPort->Port, CurrentThread->CreateTime);
|
LpcSendTerminationPort(TerminationPort->Port, CurrentThread->CreateTime);
|
||||||
|
ObDereferenceObject(TerminationPort->Port);
|
||||||
|
|
||||||
/* Free the Port */
|
/* Free the Port */
|
||||||
ExFreePool(TerminationPort);
|
ExFreePool(TerminationPort);
|
||||||
|
|
Loading…
Reference in a new issue