mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 12:23:31 +00:00
[RTL/HEAP]
- Addendum to r56217. Let's not waste memory. svn path=/trunk/; revision=56221
This commit is contained in:
@@ -510,7 +510,7 @@ RtlpCreateUnCommittedRange(PHEAP_SEGMENT Segment)
|
||||
}
|
||||
|
||||
/* There is a whole bunch of new UCR descriptors. Put them into the unused list */
|
||||
while ((PCHAR)(UcrDescriptor + 1) < (PCHAR)UcrSegment + UcrSegment->CommittedSize)
|
||||
while ((PCHAR)(UcrDescriptor + 1) <= (PCHAR)UcrSegment + UcrSegment->CommittedSize)
|
||||
{
|
||||
InsertTailList(&Heap->UCRList, &UcrDescriptor->ListEntry);
|
||||
UcrDescriptor++;
|
||||
|
||||
Reference in New Issue
Block a user