mirror of
https://github.com/ToyB-Chan/minimal-heap.git
synced 2026-07-13 21:51:16 +02:00
Update minimal_heap_implementation.inl
This commit is contained in:
@@ -662,5 +662,5 @@ void MIHP_ValidateHeapSegmentHeader(const MIHP_Heap* heap, const MIHP_HeapSegmen
|
||||
|
||||
size_t MIHP_GetMinimalPayloadSize(const MIHP_Heap* heap)
|
||||
{
|
||||
return heap->Config.AllocationAlignment;
|
||||
return heap->Config.AllocationAlignment * 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user