summaryrefslogtreecommitdiff
path: root/src/simpleanimation.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-07-02 02:28:00 +0300
committerAndrei Karas <akaras@inbox.ru>2012-07-02 02:28:00 +0300
commit9130e3fffe6e4a660606ba3347df3be74de17d3c (patch)
tree61ee0fa6445456dee1026ba3cb7de4a65e531e44 /src/simpleanimation.cpp
parentb3b35f70d35160047711b394212e78bda5f3bce0 (diff)
downloadmanaplus-9130e3fffe6e4a660606ba3347df3be74de17d3c.tar.gz
manaplus-9130e3fffe6e4a660606ba3347df3be74de17d3c.tar.bz2
manaplus-9130e3fffe6e4a660606ba3347df3be74de17d3c.tar.xz
manaplus-9130e3fffe6e4a660606ba3347df3be74de17d3c.zip
Fix leak in simple animation.
Diffstat (limited to 'src/simpleanimation.cpp')
-rw-r--r--src/simpleanimation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/simpleanimation.cpp b/src/simpleanimation.cpp
index ebe9d4688..95c03f141 100644
--- a/src/simpleanimation.cpp
+++ b/src/simpleanimation.cpp
@@ -227,5 +227,6 @@ void SimpleAnimation::initializeAnimation(XmlNodePtr animationNode,
}
}
+ imageset->decRef();
mInitialized = true;
}