Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix memory leak by dropping sky
  • Loading branch information
PilzAdam committed May 10, 2013
1 parent 81c863a commit 782d06b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/game.cpp
Expand Up @@ -3334,6 +3334,8 @@ void the_game(
clouds->drop();
if (gui_chat_console)
gui_chat_console->drop();
if (sky)
sky->drop();
clear_particles();

/*
Expand Down

0 comments on commit 782d06b

Please sign in to comment.