From: Ingo Ruhnke Date: Tue, 12 Aug 2014 20:50:45 +0000 (+0200) Subject: Delete dictionary_manager at the end of Main::run() X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=af3e5e077453d4cb35f6c183254b0a9e655003de;p=supertux.git Delete dictionary_manager at the end of Main::run() --- diff --git a/src/supertux/main.cpp b/src/supertux/main.cpp index 0ed1ff42a..2262d165b 100644 --- a/src/supertux/main.cpp +++ b/src/supertux/main.cpp @@ -429,6 +429,9 @@ Main::run(int argc, char** argv) SDL_Quit(); PHYSFS_deinit(); + delete dictionary_manager; + dictionary_manager = nullptr; + return result; }