mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
[NTOS/SE]
- Properly dereference thread object in NtOpenThreadTokenEx svn path=/trunk/; revision=66341
This commit is contained in:
parent
8b177cb83f
commit
d40314e7dd
1 changed files with 2 additions and 0 deletions
|
@ -3015,6 +3015,8 @@ NtOpenThreadTokenEx(IN HANDLE ThreadHandle,
|
|||
|
||||
if (CopyOnOpen && NewThread) ObDereferenceObject(NewThread);
|
||||
|
||||
ObDereferenceObject(Thread);
|
||||
|
||||
if (NT_SUCCESS(Status))
|
||||
{
|
||||
_SEH2_TRY
|
||||
|
|
Loading…
Reference in a new issue