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:
hikerstk 2013-11-14 23:48:19 +00:00
parent 22c4c85f56
commit 8d98f6939c
2 changed files with 4 additions and 0 deletions

View File

@ -1236,6 +1236,9 @@ void initRest()
*/
static void cleanSuperTuxKart()
{
delete main_loop;
irr_driver->updateConfigIfRelevant();
if(INetworkHttp::get())

View File

@ -401,6 +401,7 @@ void Track::loadTrackInfo()
break;
}
}
delete easter;
}
} // loadTrackInfo