mirror of
https://github.com/reactos/reactos.git
synced 2024-07-02 02:34:53 +00:00
[NTOS]: Release the *right* lock. "Fix the fix" as the yuppies say.
svn path=/trunk/; revision=55988
This commit is contained in:
parent
26b48236fb
commit
4411be35e7
|
@ -4068,7 +4068,7 @@ FinalPath:
|
|||
// return whatever failure code was sent.
|
||||
//
|
||||
FailPath:
|
||||
MiUnlockWorkingSet(CurrentThread, AddressSpace);
|
||||
MmUnlockAddressSpace(AddressSpace);
|
||||
if (Attached) KeUnstackDetachProcess(&ApcState);
|
||||
if (ProcessHandle != NtCurrentProcess()) ObDereferenceObject(Process);
|
||||
return Status;
|
||||
|
|
Loading…
Reference in a new issue