mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[LDR] Release the loader lock the same way it was acquired
This commit is contained in:
parent
91a5ee334d
commit
9c48edb58c
1 changed files with 1 additions and 1 deletions
|
@ -2626,7 +2626,7 @@ LdrpLoadDll(IN BOOLEAN Redirected,
|
|||
|
||||
Quickie:
|
||||
/* Release the lock */
|
||||
if (!InInit) RtlLeaveCriticalSection(Peb->LoaderLock);
|
||||
if (!InInit) RtlLeaveCriticalSection(&LdrpLoaderLock);
|
||||
|
||||
/* Check for success */
|
||||
if (NT_SUCCESS(Status))
|
||||
|
|
Loading…
Reference in a new issue