summaryrefslogtreecommitdiff
path: root/src/resources/beinginfo.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-05-24 03:33:43 +0300
committerAndrei Karas <akaras@inbox.ru>2011-05-24 03:33:43 +0300
commit4ffba39b1411b230d6f79f44eadacfdbf3c85d40 (patch)
tree6b82ba3deaf550cee9d562508f78715e42d6b3a5 /src/resources/beinginfo.cpp
parenta0b5f5fee9809670c2c9cf9b1f63ab2be11fd9fd (diff)
downloadplus-4ffba39b1411b230d6f79f44eadacfdbf3c85d40.tar.gz
plus-4ffba39b1411b230d6f79f44eadacfdbf3c85d40.tar.bz2
plus-4ffba39b1411b230d6f79f44eadacfdbf3c85d40.tar.xz
plus-4ffba39b1411b230d6f79f44eadacfdbf3c85d40.zip
Fix memory leaks in beinginfo and colordb classes.
Diffstat (limited to 'src/resources/beinginfo.cpp')
-rw-r--r--src/resources/beinginfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resources/beinginfo.cpp b/src/resources/beinginfo.cpp
index 7114290ca..80f416b91 100644
--- a/src/resources/beinginfo.cpp
+++ b/src/resources/beinginfo.cpp
@@ -52,6 +52,7 @@ BeingInfo::~BeingInfo()
delete_all(mSounds);
delete_all(mAttacks);
mSounds.clear();
+ delete_all(mDisplay.sprites);
}
void BeingInfo::setDisplay(SpriteDisplay display)