projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81c863a
)
Fix memory leak by dropping sky
author
PilzAdam
<pilzadam@minetest.net>
Fri, 10 May 2013 17:12:02 +0000
(19:12 +0200)
committer
PilzAdam
<pilzadam@minetest.net>
Fri, 10 May 2013 17:12:24 +0000
(19:12 +0200)
src/game.cpp
patch
|
blob
|
history
diff --git
a/src/game.cpp
b/src/game.cpp
index 81f35d4c0f61202c724c6702dcb9ffe7c871efa2..16d55077699b7ccd2bc78d64e2a16292f675d440 100644
(file)
--- 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();
/*