mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[NTOS:PS] Do not leak the Thread. Addendum to 0c8f0785
This commit is contained in:
parent
0c8f07854b
commit
83dbb6b27e
1 changed files with 1 additions and 0 deletions
|
@ -2469,6 +2469,7 @@ NtSetInformationThread(IN HANDLE ThreadHandle,
|
|||
{
|
||||
/* Fail */
|
||||
Status = STATUS_INVALID_PARAMETER;
|
||||
ObDereferenceObject(Thread);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue