Fixed memory leak.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6781 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
09eaaebd64
commit
99aa5b1960
@ -126,6 +126,7 @@ void ItemManager::loadDefaultItems()
|
||||
m_item_mesh[i] = mesh;
|
||||
mesh->grab();
|
||||
} // for i
|
||||
delete root;
|
||||
} // loadDefaultItems
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user