From e230f2b0894b6ae1e0a47fd6e52ec558817813b5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tobias=20Gl=C3=A4=C3=9Fer?= Date: Wed, 24 Dec 2003 23:25:43 +0000 Subject: [PATCH] fixed a memory leak SVN-Revision: 42 --- src/gameloop.c | 3 +++ 1 file changed, 3 insertions(+) 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) */ } -- 2.11.0