Don't close the handle if the write back does fail (in NtOpenProcessTokenEx).

svn path=/trunk/; revision=14164
This commit is contained in:
Hartmut Birr 2005-03-17 19:35:16 +00:00
parent fc4c441263
commit eabbaacd53

View file

@ -255,10 +255,6 @@ NtOpenProcessTokenEx(
Status = _SEH_GetExceptionCode();
}
_SEH_END;
if (!NT_SUCCESS(Status))
{
NtClose(hToken);
}
}
}