Fixed bug in BlockMetadata_TLSF::WriteAllocationInfoToJson

Fixes #35, thanks @Rob1B !
This commit is contained in:
Adam Sawicki 2022-03-23 14:46:59 +01:00
parent 4eee6838b7
commit 583aee7676

View File

@ -5603,7 +5603,7 @@ void BlockMetadata_TLSF::WriteAllocationInfoToJson(JsonWriter& json) const
if (block->IsFree())
PrintDetailedMap_UnusedRange(json, block->offset, block->size);
else
PrintDetailedMap_Allocation(json, block->size, block->offset, block->PrivateData());
PrintDetailedMap_Allocation(json, block->offset, block->size, block->PrivateData());
}
PrintDetailedMap_End(json);
}