In our previous episode, Joao Morais said:
> 
> Hello list. Whenever I add interfaced objects to a 
> TFPGInterfacedObjectList, those objects apparently add two references, 
> while release only one when the list is cleaned or destroyed.

v1 reference will only be freed at the end, and also counts as one. Still,
that doesn't explain the memleak, but to test it, try to nest it within a
function instead of with globals.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to