[fpc-pascal] Usage of TInterfacedObject. Automatic release?

Joao Morais post at joaomorais.com.br
Sat May 26 20:36:35 CEST 2007


Luiz Americo Pereira Camara wrote:

> Unfortunately in the original code Manager is already an interface but 
> still leaking memory. It seems that is a more complex bug.

If you have two or more interfaces whose members point each other in a 
circular reference scenario, without using weak reference, you will have 
memory leakage.

--
Joao Morais




More information about the fpc-pascal mailing list