[fpc-devel] refcounting in fcl-passrc

Marco van de Voort marcov at stack.nl
Sun Aug 22 11:36:07 CEST 2010


In our previous episode, Michael Van Canneyt said:
> > Since in both cases the resultparent is an already used reference, shouldn't
> > it be increfed ?
> 
> Probably.
> 
> Till you told me, I wasn't even aware that there was a refcounting mechanism.
> I see no reason why there should be one, so I'd be in favour of removing it 
> alltogether.

Then you need some global list to add them to. (to be able to deallocate).
It might be the various TPasModule sections already double as something like
this, but that has to be validated. 

Dmitry, what do you think?




More information about the fpc-devel mailing list