mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[LDR] Assume that lock is held only if lock method succeeded
svn path=/trunk/; revision=52523
This commit is contained in:
parent
7056e2e757
commit
efd1266b5b
1 changed files with 1 additions and 2 deletions
|
@ -2365,9 +2365,8 @@ LdrAddRefDll(IN ULONG Flags,
|
|||
{
|
||||
/* Acquire the lock */
|
||||
Status = LdrLockLoaderLock(0, NULL, &Cookie);
|
||||
if (!NT_SUCCESS(Status)) goto quickie;
|
||||
Locked = TRUE;
|
||||
|
||||
if (!NT_SUCCESS(Status)) goto quickie;
|
||||
}
|
||||
|
||||
/* Get this module's data table entry */
|
||||
|
|
Loading…
Reference in a new issue