diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-03-10 12:23:50 -0600 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-03-15 13:21:03 -0600 |
commit | d6f89802e5aa32f266e881e43d6005e821040c57 (patch) | |
tree | 8279ca50117fced2dc26f7e6d4bdd7d5694af255 /src/beingmanager.cpp | |
parent | 4b459b50521f5d7a0518e229a20f14ed2f1d22f9 (diff) | |
download | mana-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.cpp | 5 |
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; |