[fpc-pascal] A serious Memleak using delegates/implements (was: Delegate Interface class does not seem to be referenced counted)

Marcos Douglas md at delfire.net
Thu Oct 6 16:25:44 CEST 2016


On Thu, Oct 6, 2016 at 7:30 AM, Graeme Geldenhuys
<mailinglists at geldenhuys.co.uk> wrote:
> On 2016-10-05 16:26, Marcos Douglas wrote:
>> So, I coded a new example — more simpler, I think — to demonstrate the same
>> problem and prove that there is some wrong that is causing a memleak.
>
> And here is that example converted to use CORBA style interfaces and no
> memory leaks.

I've used CORBA before... but see your example, you need to declarate
two variables to do one job.
I don't like that and I think shouldn't be necessary.

Marcos Douglas



More information about the fpc-pascal mailing list