I have a TestCase that has this issue. If I call obj.Free, I am unable to step into the Destroy method and heaptrc indicates a memory leak. If I call obj.Destroy everything works as expected. Following the call to Free - ... if (obj <> nil) then obj.Destroy; it would seem that the object must be nil. How can I test this? i am unable to step into objpas?.inc.
Thanks, Brian. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal