mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
[NTOSKRNL]: CORE-6597 #resolve #time 5m #comment Fix incorrect double list increment
svn path=/trunk/; revision=57262
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user