On Thu, May 24, 2012 at 7:07 AM, Mathias Fröhlich wrote:
> I may be false since I really only spent *very* little time on that. But I
> believe you never free the content of the building bin list. That means the
> pointers stored in the list are gone, but the building bins - the pointees -
> are still alive.

Hi Mathias,

Thanks for taking a look.

I think that the SGBuildingBin destructor will be called when I call
the list clear()
method on the SGBuldingBinList (SGBuildingBin.cxx line 654).  That in
turn calls clear()
on the BuildingList (SGBuildingBin.hxx line 105), which is a simple
struct of basic
types, so shouldn't need a destructor.

-Stuart

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to