summaryrefslogtreecommitdiff
path: root/src
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
parentb3b35f70d35160047711b394212e78bda5f3bce0 (diff)
downloadmanaverse-9130e3fffe6e4a660606ba3347df3be74de17d3c.tar.gz
manaverse-9130e3fffe6e4a660606ba3347df3be74de17d3c.tar.bz2
manaverse-9130e3fffe6e4a660606ba3347df3be74de17d3c.tar.xz
manaverse-9130e3fffe6e4a660606ba3347df3be74de17d3c.zip
Fix leak in simple animation.
Diffstat (limited to 'src')
-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;
}