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

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Thu Oct 6 12:11:50 CEST 2016

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

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.


More information about the fpc-pascal mailing list