On Sun, 22 Aug 2010, Marco van de Voort wrote:
I still get errors on deallocation in fpdoc from time to time.
The most recent one is related to TPasFunctionType.
I searched a bit, and since the type is not used that much, I suspect
TPasTreeContainer.CreateFunctionType.
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.
Michael.
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel