From af3e5e077453d4cb35f6c183254b0a9e655003de Mon Sep 17 00:00:00 2001 From: Ingo Ruhnke Date: Tue, 12 Aug 2014 22:50:45 +0200 Subject: [PATCH] Delete dictionary_manager at the end of Main::run() --- src/supertux/main.cpp | 3 +++ 1 file changed, 3 insertions(+) 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; } -- 2.11.0