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

pull/155/head
rubidium 11 years ago
parent ffa7693524
commit 2b3d476efc

@ -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();

Loading…
Cancel
Save