I had this very strange bug the last day. It's probally easiest if I show you the bug in code.
I have a radiobutton on a form.
r.free; //if I don't comment this out rad is destroyed and is nil
if radiobutton.checked then ...
is this a bug in delphi ? I thought that a call to free would always be safe even when it's wrong.