1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-12-23 08:08:47 -05:00

Fix memory leak by dropping sky

This commit is contained in:
PilzAdam 2013-05-10 19:12:02 +02:00
parent 81c863ac4d
commit 782d06be46

View File

@ -3334,6 +3334,8 @@ void the_game(
clouds->drop(); clouds->drop();
if (gui_chat_console) if (gui_chat_console)
gui_chat_console->drop(); gui_chat_console->drop();
if (sky)
sky->drop();
clear_particles(); clear_particles();
/* /*