mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[LDR]
- Don't overwrite the real unload status with the return value of RtlLeaveCriticalSection svn path=/trunk/; revision=52521
This commit is contained in:
parent
df556f104f
commit
4e60d722c9
1 changed files with 1 additions and 1 deletions
|
@ -2301,7 +2301,7 @@ LdrUnloadDll(IN PVOID BaseAddress)
|
|||
Quickie:
|
||||
/* Decrease unload count */
|
||||
LdrpActiveUnloadCount--;
|
||||
if (!LdrpInLdrInit) Status = RtlLeaveCriticalSection(Peb->LoaderLock);
|
||||
if (!LdrpInLdrInit) RtlLeaveCriticalSection(Peb->LoaderLock);
|
||||
|
||||
/* FIXME: Rundown the Hotpatch data, if present */
|
||||
|
||||
|
|
Loading…
Reference in a new issue