fixed a memory leak
authorTobias Gläßer <tobi.web@gmx.de>
Wed, 24 Dec 2003 23:25:43 +0000 (23:25 +0000)
committerTobias Gläßer <tobi.web@gmx.de>
Wed, 24 Dec 2003 23:25:43 +0000 (23:25 +0000)
SVN-Revision: 42

src/gameloop.c

index 5ee68e6..ff8c6ca 100644 (file)
@@ -555,6 +555,9 @@ int game_action(void)
               if (score > highscore)
                 save_hs(score);
 
+             unloadlevelgfx();
+              unloadlevelsong();
+              unloadshared();        
               return(0);
             } /* if (lives < 0) */
         }