diff options
author | sapier <Sapier at GMX dot net> | 2014-07-02 23:33:18 +0200 |
---|---|---|
committer | sapier <Sapier at GMX dot net> | 2014-07-02 23:33:18 +0200 |
commit | b8343cd11c834fb2613b104418ed08e9fdb1665a (patch) | |
tree | 27194eb00fb695367fcd5cb0e281639bf75a48b1 /src/player.cpp | |
parent | 3d6d66b181b894180164aa34aab7b2029bef1bf4 (diff) | |
download | minetest-b8343cd11c834fb2613b104418ed08e9fdb1665a.tar.gz minetest-b8343cd11c834fb2613b104418ed08e9fdb1665a.tar.bz2 minetest-b8343cd11c834fb2613b104418ed08e9fdb1665a.zip |
Fix memory leaks in GenericCAO, ShaderSource and Player classes
Diffstat (limited to 'src/player.cpp')
-rw-r--r-- | src/player.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/player.cpp b/src/player.cpp index f2ff59027..40d403952 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -100,6 +100,7 @@ Player::Player(IGameDef *gamedef): Player::~Player() { + clearHud(); } // Horizontal acceleration (X and Z), Y direction is ignored |