Skip to content

Commit 782d06b

Browse files
committedMay 10, 2013
Fix memory leak by dropping sky
1 parent 81c863a commit 782d06b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/game.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -3334,6 +3334,8 @@ void the_game(
33343334
clouds->drop();
33353335
if (gui_chat_console)
33363336
gui_chat_console->drop();
3337+
if (sky)
3338+
sky->drop();
33373339
clear_particles();
33383340

33393341
/*

0 commit comments

Comments
 (0)
Please sign in to comment.