[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 16:57:53 CEST 2016
    
    
  
Hello Marcos,
On 2016-10-06 at 11:25, Marcos Douglas wrote:
> you need to declarate
> two variables to do one job.
> I don't like that and I think shouldn't be necessary.
Well, to be fair, that example is not representative of a real-world
application. In a real-world app, I would not declare and release
objects and interface references like than - in the same procedure.
Regards,
  - Graeme -
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/
My public PGP key:  http://tinyurl.com/graeme-pgp
    
    
More information about the fpc-pascal
mailing list