On 03/17/2014 04:20 PM, Michael Schnell wrote:
I'm not sure if you simply can do "free;" as the last instruction before returning from the procedure.I just did a test and even this seems to work: An object seemingly can free itself and return to the caller of the function just as if this function would be another destructor.
-Michael -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
