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

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to