Is there a "complete" list of reference counted variables in FP? e.g. dynamic arrays are ref-counted. but are variables allocated by New() ref-counted?
My use case is: type PMyRecord = ^TMyRecord; p: = New(PMyRecord); MyListView.Item[0].Data = p; MyListView.Item[0].Delete; <-- Do I need to Dispose(p) manually when I remove this item or free the ListView? Thanks.
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal