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

Luiz Americo Pereira Camara pascalive at bol.com.br
Sat May 26 20:19:36 CEST 2007

Cesar Romero wrote:
> var
>  Manager: TVTDragManager;
> It should be Interface.
> like
> var
>  Manager: IDropSource;
> or other implemented interface
Thanks. You are right. Using Manager as IDropSource there's no leak in 
the test program.

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

Thanks anyway. If i find how to isolate this bug i will report it. For 
now using _Release.


More information about the fpc-pascal mailing list