mirror of
https://github.com/reactos/reactos.git
synced 2025-05-27 21:18:15 +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:
|
Quickie:
|
||||||
/* Release the lock */
|
/* Release the lock */
|
||||||
if (!InInit) RtlLeaveCriticalSection(Peb->LoaderLock);
|
if (!InInit) RtlLeaveCriticalSection(&LdrpLoaderLock);
|
||||||
|
|
||||||
/* Check for success */
|
/* Check for success */
|
||||||
if (NT_SUCCESS(Status))
|
if (NT_SUCCESS(Status))
|
||||||
|
|
Loading…
Reference in a new issue