summaryrefslogtreecommitdiff
path: root/src/beingmanager.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-10 12:23:50 -0600
committerIra Rice <irarice@gmail.com>2009-03-15 13:21:03 -0600
commitd6f89802e5aa32f266e881e43d6005e821040c57 (patch)
tree8279ca50117fced2dc26f7e6d4bdd7d5694af255 /src/beingmanager.cpp
parent4b459b50521f5d7a0518e229a20f14ed2f1d22f9 (diff)
downloadmana-d6f89802e5aa32f266e881e43d6005e821040c57.tar.gz
mana-d6f89802e5aa32f266e881e43d6005e821040c57.tar.bz2
mana-d6f89802e5aa32f266e881e43d6005e821040c57.tar.xz
mana-d6f89802e5aa32f266e881e43d6005e821040c57.zip
Fix some mem leaks
Diffstat (limited to 'src/beingmanager.cpp')
-rw-r--r--src/beingmanager.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/beingmanager.cpp b/src/beingmanager.cpp
index 0c7a310a..e5836aa7 100644
--- a/src/beingmanager.cpp
+++ b/src/beingmanager.cpp
@@ -52,6 +52,11 @@ BeingManager::BeingManager(Network *network):
{
}
+BeingManager::~BeingManager()
+{
+ clear();
+}
+
void BeingManager::setMap(Map *map)
{
mMap = map;