aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/clientenvironment.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/clientenvironment.cpp b/src/clientenvironment.cpp
index 29ecd2dfe..94c8e0dcb 100644
--- a/src/clientenvironment.cpp
+++ b/src/clientenvironment.cpp
@@ -66,6 +66,8 @@ ClientEnvironment::~ClientEnvironment()
// Drop/delete map
m_map->drop();
+
+ delete m_local_player;
}
Map & ClientEnvironment::getMap()