mirror of
https://github.com/reactos/reactos.git
synced 2026-06-01 00:40:26 +08:00
[LDR] Release the loader lock the same way it was acquired
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user