Fixed another memory leak
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6960 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
4ec08502b2
commit
4392b42bb7
@ -120,6 +120,8 @@ void PowerupManager::loadAllPowerups()
|
||||
loadWeights(*root, "last" , POSITION_LAST );
|
||||
loadWeights(*root, "battle" , POSITION_BATTLE_MODE);
|
||||
|
||||
delete root;
|
||||
|
||||
} // loadAllPowerups
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user