[fpc-devel] StrDispose FreeMem with size

Micha Nelissen micha at neli.hopto.org
Fri Oct 13 10:05:24 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 ?

Micha



More information about the fpc-devel mailing list