Fixed memory leak.
This commit is contained in:
parent
576270bb17
commit
8aabb30687
@ -309,7 +309,7 @@ void Track::cleanup()
|
||||
m_object_physics_only_nodes.clear();
|
||||
|
||||
irr_driver->removeNode(m_sun);
|
||||
|
||||
m_sun->drop();
|
||||
delete m_track_mesh;
|
||||
m_track_mesh = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user