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.

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

Reply via email to