summaryrefslogtreecommitdiff
path: root/src/resources/spritedef.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-05-30 17:18:41 +0300
committerAndrei Karas <akaras@inbox.ru>2011-05-30 17:18:41 +0300
commitd548e9bc6c987a4834ce3d65b33108f55e0f7a2c (patch)
tree97b58a414c6b8c910afb54bfacfc303e926f849d /src/resources/spritedef.cpp
parenta5406f20dba001d4491eb90296c181857c37eabf (diff)
downloadmv-d548e9bc6c987a4834ce3d65b33108f55e0f7a2c.tar.gz
mv-d548e9bc6c987a4834ce3d65b33108f55e0f7a2c.tar.bz2
mv-d548e9bc6c987a4834ce3d65b33108f55e0f7a2c.tar.xz
mv-d548e9bc6c987a4834ce3d65b33108f55e0f7a2c.zip
Fix memory leaks in being, socialwindow classes.
Diffstat (limited to 'src/resources/spritedef.cpp')
-rw-r--r--src/resources/spritedef.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/spritedef.cpp b/src/resources/spritedef.cpp
index 2cd59ee29..37610f659 100644
--- a/src/resources/spritedef.cpp
+++ b/src/resources/spritedef.cpp
@@ -353,7 +353,7 @@ SpriteDef::~SpriteDef()
delete *i;
}
-//need actions.clear?
+ mActions.clear();
for (ImageSetIterator i = mImageSets.begin();
i != mImageSets.end(); ++i)