[fpc-pascal] crash in tobject.free

2010-12-09 Thread David Emerson
Hi all, I'm encountering a consistent crash, and I'm not sure how to address the problem. using: - laz 0.9.28.2-8 beta, svn 22277, from debian testing -- a rather outdated one, because at this point upgrading lazarus requires updating debian - fpc 2.4.0-2 [2010/02/20] for i386 - fpgui commit

Re: [fpc-pascal] crash in tobject.free

2010-12-09 Thread Matthias Klumpp
Hi! On Thu, 9 Dec 2010 11:42:20 -0800, David Emerson dle...@angelbase.com wrote: I'm encountering a consistent crash, and I'm not sure how to address the problem. using: - laz 0.9.28.2-8 beta, svn 22277, from debian testing -- a rather outdated one, because at this point upgrading

Re: [fpc-pascal] crash in tobject.free

2010-12-09 Thread David Emerson
Thanks Matthias, FreeAndNil solved my problem! I was assuming that calling Free would also nil out the variable holding the reference to the object, but obviously it does not. Cheers, David On Thu 9 Dec 2010, Matthias Klumpp wrote: Hi! On Thu, 9 Dec 2010 11:42:20 -0800, David Emerson