mirror of
https://github.com/reactos/reactos.git
synced 2025-04-22 13:10:39 +00:00
[NTOSKRNL]: CORE-6597 #resolve #time 5m #comment Fix incorrect double list increment
svn path=/trunk/; revision=57262
This commit is contained in:
parent
fd222f669a
commit
6b74931d7c
1 changed files with 1 additions and 1 deletions
|
@ -1583,6 +1583,7 @@ ExAllocatePoolWithTag(IN POOL_TYPE PoolType,
|
|||
//
|
||||
i = (USHORT)((NumberOfBytes + sizeof(POOL_HEADER) + (POOL_BLOCK_SIZE - 1))
|
||||
/ POOL_BLOCK_SIZE);
|
||||
ASSERT(i < POOL_LISTS_PER_PAGE);
|
||||
|
||||
//
|
||||
// Handle lookaside list optimization for both paged and nonpaged pool
|
||||
|
@ -1664,7 +1665,6 @@ ExAllocatePoolWithTag(IN POOL_TYPE PoolType,
|
|||
// Try again!
|
||||
//
|
||||
ExUnlockPool(PoolDesc, OldIrql);
|
||||
ListHead++;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue