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 > wr

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 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 lazarus requires upd