Author: cgutman
Date: Sun Jul 3 20:10:02 2011
New Revision: 52521
URL:
http://svn.reactos.org/svn/reactos?rev=52521&view=rev
Log:
[LDR]
- Don't overwrite the real unload status with the return value of
RtlLeaveCriticalSection
Modified:
trunk/reactos/dll/ntdll/ldr/ldrutils.c
Modified: trunk/reactos/dll/ntdll/ldr/ldrutils.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/ntdll/ldr/ldrutils.c?r…
==============================================================================
--- trunk/reactos/dll/ntdll/ldr/ldrutils.c [iso-8859-1] (original)
+++ trunk/reactos/dll/ntdll/ldr/ldrutils.c [iso-8859-1] Sun Jul 3 20:10:02 2011
@@ -2301,7 +2301,7 @@
Quickie:
/* Decrease unload count */
LdrpActiveUnloadCount--;
- if (!LdrpInLdrInit) Status = RtlLeaveCriticalSection(Peb->LoaderLock);
+ if (!LdrpInLdrInit) RtlLeaveCriticalSection(Peb->LoaderLock);
/* FIXME: Rundown the Hotpatch data, if present */