diff options
author | PilzAdam <pilzadam@minetest.net> | 2013-05-10 19:12:02 +0200 |
---|---|---|
committer | PilzAdam <pilzadam@minetest.net> | 2013-05-10 19:12:24 +0200 |
commit | 782d06be460e81c9fe4760c78003ac6522676e82 (patch) | |
tree | a9c060900d752bafec230f51c76e4fadad53657a | |
parent | 81c863ac4df1530123ef7952713623dadb049bec (diff) | |
download | minetest-782d06be460e81c9fe4760c78003ac6522676e82.tar.gz minetest-782d06be460e81c9fe4760c78003ac6522676e82.tar.bz2 minetest-782d06be460e81c9fe4760c78003ac6522676e82.zip |
Fix memory leak by dropping sky
-rw-r--r-- | src/game.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp index 81f35d4c0..16d550776 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -3334,6 +3334,8 @@ void the_game( clouds->drop(); if (gui_chat_console) gui_chat_console->drop(); + if (sky) + sky->drop(); clear_particles(); /* |