Delete dictionary_manager at the end of Main::run()
authorIngo Ruhnke <grumbel@gmail.com>
Tue, 12 Aug 2014 20:50:45 +0000 (22:50 +0200)
committerIngo Ruhnke <grumbel@gmail.com>
Tue, 12 Aug 2014 20:50:45 +0000 (22:50 +0200)
src/supertux/main.cpp

index 0ed1ff4..2262d16 100644 (file)
@@ -429,6 +429,9 @@ Main::run(int argc, char** argv)
   SDL_Quit();
   PHYSFS_deinit();
 
+  delete dictionary_manager;
+  dictionary_manager = nullptr;
+
   return result;
 }