[fpc-devel] StrDispose FreeMem with size

Peter Vreman peter at freepascal.org
Fri Oct 13 09:00:03 CEST 2006


> Hi,
>
> At cutils line 926, FreeMem is called for p with size strlen(p)+1. Could
> it be that actually a much bigger block was allocated, and not size
> strlen(p)+1 ?

The size parameter is ignored by the heap manager.








More information about the fpc-devel mailing list