Fixed minor memory leaks (the track.cpp caused warnings to be
printed by our leack checker). git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14436 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
22c4c85f56
commit
8d98f6939c
@ -1236,6 +1236,9 @@ void initRest()
|
||||
*/
|
||||
static void cleanSuperTuxKart()
|
||||
{
|
||||
|
||||
delete main_loop;
|
||||
|
||||
irr_driver->updateConfigIfRelevant();
|
||||
|
||||
if(INetworkHttp::get())
|
||||
|
@ -401,6 +401,7 @@ void Track::loadTrackInfo()
|
||||
break;
|
||||
}
|
||||
}
|
||||
delete easter;
|
||||
}
|
||||
} // loadTrackInfo
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user