diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-03-10 12:23:50 -0600 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-03-10 12:43:02 -0600 |
commit | 75fc8e62d25ff1d39408588f76d95df4a9a7e663 (patch) | |
tree | baea474d54281912dfec08d75319a4a09f4e03bd /src/beingmanager.cpp | |
parent | 0540c611b48fd8dee14066b13755138192b7084b (diff) | |
download | mana-75fc8e62d25ff1d39408588f76d95df4a9a7e663.tar.gz mana-75fc8e62d25ff1d39408588f76d95df4a9a7e663.tar.bz2 mana-75fc8e62d25ff1d39408588f76d95df4a9a7e663.tar.xz mana-75fc8e62d25ff1d39408588f76d95df4a9a7e663.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; |