[fpc-pascal] Where and Why is there a memory leak?
Marcos Douglas B. Santos
md at delfire.net
Wed Sep 6 12:33:43 CEST 2017
On Wed, Sep 6, 2017 at 6:55 AM, Graeme Geldenhuys <
mailinglists at geldenhuys.co.uk> wrote:
> I can't remember ever [while using Delphi] being forced to implement a
> getter method in the "property ... implements..." line, but it seems that
> is the only way it remove memory leaks under FPC. Weird. :-/
You don't need this getter. You have resolved just by change FHookInstance
as a class, not an Interface, plus using TAggregatedObject too.
I wrote an article about it
(use Google Translator).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal