[fpc-pascal] methods of an object to create others objects
andrew.t.brunner at gmail.com
Wed Jul 7 00:04:31 CEST 2010
On Tue, Jul 6, 2010 at 4:41 PM, Graeme Geldenhuys
<graemeg.lists at gmail.com> wrote:
> On 6 July 2010 19:51, Marcos Douglas <md at delfire.net> wrote:
>>> That's the problematic one I think.
>> Can an exception happen in Free method?! :-O
> Yes! I often have to debug those in our complex business objects.
You got that right. Which is my point exactly. If free blows out w/o
a nested exception handle to catch it... The entire object goes into
limbo and will never be free and thus cause a memory leak. Tell me
someone here realises this (other than me ;-) is the essential point
of this entire thread or I'm going to be very disappointed...
More information about the fpc-pascal