mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[NTOS]: Release the *right* lock. "Fix the fix" as the yuppies say.
svn path=/trunk/; revision=55988
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user