mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 06:43:13 +00:00
Don't close the handle if the write back does fail (in NtOpenProcessTokenEx).
svn path=/trunk/; revision=14164
This commit is contained in:
parent
fc4c441263
commit
eabbaacd53
1 changed files with 0 additions and 4 deletions
|
@ -255,10 +255,6 @@ NtOpenProcessTokenEx(
|
||||||
Status = _SEH_GetExceptionCode();
|
Status = _SEH_GetExceptionCode();
|
||||||
}
|
}
|
||||||
_SEH_END;
|
_SEH_END;
|
||||||
if (!NT_SUCCESS(Status))
|
|
||||||
{
|
|
||||||
NtClose(hToken);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue