[fpc-pascal] New Dispose and FreeMem and objects

Jonas Maebe jonas.maebe at elis.ugent.be
Fri Aug 26 23:14:16 CEST 2011


On 26 Aug 2011, at 22:39, Andrew Haines wrote:

> Maybe Dispose can call a destructor and that is the difference between
> Dispose and FreeMem?

The other difference is that dispose() will finalize any reference counted fields, while freemem won't.


Jonas


More information about the fpc-pascal mailing list