[fpc-devel] an observation about GetMem

Micha Nelissen micha at neli.hopto.org
Thu Sep 4 21:27:35 CEST 2008


Peter Popov wrote:
> size is 0 (realloc does). On the other hand, assigning something is a 
> bad idea too, as it suggests at least Size(pointer) amount of storage, 
> unless that memory spot is somehow marked as "empty", etc.

How does it suggest a storage space with size > 0 ?

Micha



More information about the fpc-devel mailing list