(svn r26097) -Fix: another minor memory leak (when pressing cancel in the bootstrap window)

This commit is contained in:
rubidium 2013-11-25 09:12:49 +00:00
parent 0460b78515
commit ee0aa389a8
1 changed files with 3 additions and 0 deletions

View File

@ -799,7 +799,9 @@ int openttd_main(int argc, char *argv[])
#endif /* ENABLE_NETWORK */
if (!HandleBootstrap()) {
delete scanner;
ShutdownGame();
goto exit_bootstrap;
}
@ -863,6 +865,7 @@ int openttd_main(int argc, char *argv[])
CheckForMissingGlyphs();
/* ScanNewGRFFiles now has control over the scanner. */
ScanNewGRFFiles(scanner);
_video_driver->MainLoop();