Fixed minor memory leak (minor=data structure that is used till the end
of the game is not freed, so memory usage does not increase over time). git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5650 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
9d467210c5
commit
b84043f819
@ -92,6 +92,8 @@ Track::~Track()
|
||||
if(m_quad_graph) delete m_quad_graph;
|
||||
if(m_check_manager) delete m_check_manager;
|
||||
if(m_mini_map) irr_driver->removeTexture(m_mini_map);
|
||||
delete m_track_mesh;
|
||||
delete m_non_collision_mesh;
|
||||
} // ~Track
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user