summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-04-15 14:34:08 -0600
committerJared Adams <jaxad0127@gmail.com>2009-04-15 14:34:08 -0600
commit1b44c6d73784c0f222c3d1f09214936acb5561f7 (patch)
tree15891c17cf1a8285dfbbf71b14052345b4ab89c6 /src/resources
parent72278cfec112e06b50ba06185fb59a2ce390d955 (diff)
downloadmana-1b44c6d73784c0f222c3d1f09214936acb5561f7.tar.gz
mana-1b44c6d73784c0f222c3d1f09214936acb5561f7.tar.bz2
mana-1b44c6d73784c0f222c3d1f09214936acb5561f7.tar.xz
mana-1b44c6d73784c0f222c3d1f09214936acb5561f7.zip
Fix some memory problems
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/monsterinfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resources/monsterinfo.cpp b/src/resources/monsterinfo.cpp
index 06a6d3b6..91f5aea8 100644
--- a/src/resources/monsterinfo.cpp
+++ b/src/resources/monsterinfo.cpp
@@ -31,6 +31,7 @@ MonsterInfo::~MonsterInfo()
{
// kill vectors in mSoundEffects
delete_all(mSounds);
+ delete_all(mMonsterAttacks);
mSounds.clear();
}