[fpc-devel] StrDispose FreeMem with size
Peter Vreman
peter at freepascal.org
Fri Oct 13 16:35:34 CEST 2006
> Daniƫl Mantione wrote:
>>> I think no recent heap manager can free blocks partially ?
>>
>> I think the idea is that if you want, you can write and install a heap
>> manager that uses the size. In such case you implement
>> freemem(pointer,size), and freemem(pointer) then results in a runtime
>> error.
>
> I see. I do wonder how many people use their own heap manager though
> ;-). But more to the point: our RTL wont work with this heap manager I
> guess ? It think it has a lot of freemems without size ?
For example heaptrc can still use it.
More information about the fpc-devel
mailing list