mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 08:03:01 +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 */
|
/* 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);
|
InsertTailList(&Heap->UCRList, &UcrDescriptor->ListEntry);
|
||||||
UcrDescriptor++;
|
UcrDescriptor++;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue