[fpc-pascal]Another pointer related question

Peter Vreman peter at freepascal.org
Tue Oct 23 08:49:51 CEST 2001


> >  > Freemem(p);
> >  > works fine. The heap manager knows about the size of each allocation and
> > 
> > Interesting, I never thought about trying it as the documentation (Ref.pdf)
> > is quite silent about this possibility... :-))
> 
> It is a Delphi extension, and might only be available in -S2, -Sd modes.

It's available in all modes, as it is a normal RTL function.







More information about the fpc-pascal mailing list