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?

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

Reply via email to