[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:19:33 CEST 2016


On Thu, Oct 6, 2016 at 7:11 AM, Graeme Geldenhuys
<mailinglists at geldenhuys.co.uk> wrote:
> On 2016-10-06 02:34, Marcos Douglas wrote:
>> But, the result was the same, even using D7.
>> So, is this by design? Sad...
>
> Sad and nasty indeed. But it seems it is “by design” or done for “Delphi
> compatibility”.
>
> It would be interesting to know what Delphi developers think of this.
> You should post the new code example and message to a Delphi newsgroup
> or Google+ forum and see what they think of that. If it has been around
> since the D7 days (and maybe even earlier), they might have an
> explanation or work-around for you.

That's a good idea. I'll do it.

Marcos Douglas



More information about the fpc-pascal mailing list