aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichieSams2013-09-08 17:06:06 -0500
committerRichieSams2013-09-09 11:16:46 -0500
commit0874212fa72264404803c3ebc0b75fc63f2be754 (patch)
tree53282debc28cafc8ee65158ceee97a4a3d3d8649
parent4a4330cec727fd5e08015479bdec94331b2e7662 (diff)
downloadscummvm-rg350-0874212fa72264404803c3ebc0b75fc63f2be754.tar.gz
scummvm-rg350-0874212fa72264404803c3ebc0b75fc63f2be754.tar.bz2
scummvm-rg350-0874212fa72264404803c3ebc0b75fc63f2be754.zip
ZVISION: Cleanup _currentFrameBuffer during descruction
-rw-r--r--engines/zvision/rlf_animation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/zvision/rlf_animation.cpp b/engines/zvision/rlf_animation.cpp
index 0ffeeb0f0f..5ce58e68fd 100644
--- a/engines/zvision/rlf_animation.cpp
+++ b/engines/zvision/rlf_animation.cpp
@@ -74,6 +74,7 @@ RlfAnimation::~RlfAnimation() {
delete[] _frames[i].encodedData;
}
delete[] _frames;
+ _currentFrameBuffer.free();
}
bool RlfAnimation::readHeader() {