From 782d06be460e81c9fe4760c78003ac6522676e82 Mon Sep 17 00:00:00 2001
From: PilzAdam <pilzadam@minetest.net>
Date: Fri, 10 May 2013 19:12:02 +0200
Subject: [PATCH] Fix memory leak by dropping sky

---
 src/game.cpp | 2 ++
 1 file changed, 2 insertions(+)

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();
 	
 	/*
-- 
GitLab