[fpc-pascal] TObjectList works; TFPObjectList gives memory leaks

Jim hakkie42 at gmail.com
Sun Aug 1 15:19:53 CEST 2010


On 1-8-2010 14:29, Marco van de Voort wrote:
> In our previous episode, Marco van de Voort said:
>>
>> Call inherited create(true) in your constructor instead of just create().
> 
> Hmm no, that is not it either, since the constructor is overloaded. Then a
> small example program to test is really needed. If you can reproduce it,
> please file a bug at http://bugs.freepascal.org
True; I also explicitly set the ownsobject property. Nothing changed.

I'll try and see what I can do and file a bug if I have something working...
(Of course, it could be my newb programming that's causing this, but
then I'm extraordinarily lucky that tobjectlist works ;)

-- 
Regards,

jb



More information about the fpc-pascal mailing list