From: Tobias Gläßer Date: Wed, 24 Dec 2003 23:25:43 +0000 (+0000) Subject: fixed a memory leak X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=e230f2b0894b6ae1e0a47fd6e52ec558817813b5;p=supertux.git fixed a memory leak SVN-Revision: 42 --- diff --git a/src/gameloop.c b/src/gameloop.c index 5ee68e696..ff8c6caab 100644 --- a/src/gameloop.c +++ b/src/gameloop.c @@ -555,6 +555,9 @@ int game_action(void) if (score > highscore) save_hs(score); + unloadlevelgfx(); + unloadlevelsong(); + unloadshared(); return(0); } /* if (lives < 0) */ }