On 15.04.2011 11:11, Andreas Gaeb wrote:
> The input value lists seems to fulfil both conditions (SGSharedPtr
> pointing to SGReferenced), so in theory, automatic deletion should work
> here. Still, valgrind complains. Could the problem here be related to
> calling the componentForge functor?

Remember that SGReferenced does reference counting. In theory, the root 
cause could be completely elsewhere in the code, if there were other 
references to the same "InputValue". If only a single of these 
references wasn't removed, then the actual "InputValue" object is never 
deleted (and let's hope there are no cyclic references anywhere...).

cheers,
Thorsten

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to