- fbx: read property templates. Fix some memory leaks.

This commit is contained in:
acgessler
2012-07-02 16:51:19 +02:00
parent 00f249b8dd
commit 21713841d3
3 changed files with 90 additions and 5 deletions

View File

@@ -144,6 +144,9 @@ PropertyTable::PropertyTable(const Element& element, PropertyTable* templateProp
// ------------------------------------------------------------------------------------------------
PropertyTable::~PropertyTable()
{
BOOST_FOREACH(PropertyMap::value_type& v, props) {
delete v.second;
}
}
// ------------------------------------------------------------------------------------------------