From: PilzAdam Date: Fri, 10 May 2013 17:12:02 +0000 (+0200) Subject: Fix memory leak by dropping sky X-Git-Tag: 0.4.7~29^2~8 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=782d06be460e81c9fe4760c78003ac6522676e82;p=oweals%2Fminetest.git Fix memory leak by dropping sky --- 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(); /*