From: PilzAdam Date: Fri, 10 May 2013 17:12:02 +0000 (+0200) Subject: Fix memory leak by dropping sky X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=782d06be460e81c9fe4760c78003ac6522676e82;p=zefram%2Fminetest%2Fminetest_engine.git Fix memory leak by dropping sky --- diff --git a/src/game.cpp b/src/game.cpp index 81f35d4c..16d55077 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(); /*