mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
[RTL/HEAP]
- Addendum to r56217. Let's not waste memory. svn path=/trunk/; revision=56221
This commit is contained in:
parent
a0dbbba584
commit
504ebb0562
1 changed files with 1 additions and 1 deletions
|
@ -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++;
|
||||
|
|
Loading…
Reference in a new issue