[fpc-pascal] New Dispose and FreeMem and objects
Jonas Maebe
jonas.maebe at elis.ugent.be
Sat Aug 27 00:33:26 CEST 2011
On 27 Aug 2011, at 00:18, Andrew Haines wrote:
> Ok so freemem is okay as long as I am careful about the members of the
> object.
There may be other problems I'm not thinking of right now. I don't understand why you want to use freemem for objects, since the only difference with dispose is that it will result in crashes or memory corruption under certain circumstances.
Jonas
More information about the fpc-pascal
mailing list