Update minimal_heap_implementation.inl

This commit is contained in:
2026-06-09 20:41:08 +02:00
parent 847dfe1484
commit 9d890e794b

View File

@@ -142,7 +142,8 @@ void* MIHP_Allocate(MIHP_Heap* heap, size_t size)
} }
} while (nextArea != heap->LastSuccessfulAllocationArea); } while (nextArea != heap->LastSuccessfulAllocationArea);
AllocateNewArea: /* No free segment found (in time), allocate new area */
size_t newAreaSize = heap->Stats.TotalSize; size_t newAreaSize = heap->Stats.TotalSize;
while (newAreaSize < size) while (newAreaSize < size)