diff options
author | Benjamin Haisch | 2008-05-20 19:56:49 +0000 |
---|---|---|
committer | Benjamin Haisch | 2008-05-20 19:56:49 +0000 |
commit | 11697c0eb24aed6c6997c1d6282b69ed3448b1e9 (patch) | |
tree | aaa6ae445469a9f2965baeef9c8ed8c8a5891202 /engines/made/resource.cpp | |
parent | 970f7e7c937b9e809ee03acd8225b2142840430c (diff) | |
download | scummvm-rg350-11697c0eb24aed6c6997c1d6282b69ed3448b1e9.tar.gz scummvm-rg350-11697c0eb24aed6c6997c1d6282b69ed3448b1e9.tar.bz2 scummvm-rg350-11697c0eb24aed6c6997c1d6282b69ed3448b1e9.zip |
Delete animation frames in AnimationResource destructor.
svn-id: r32201
Diffstat (limited to 'engines/made/resource.cpp')
-rw-r--r-- | engines/made/resource.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/made/resource.cpp b/engines/made/resource.cpp index 8c9125127a..8bda5e564b 100644 --- a/engines/made/resource.cpp +++ b/engines/made/resource.cpp @@ -94,7 +94,8 @@ AnimationResource::AnimationResource() { } AnimationResource::~AnimationResource() { - // TODO: Free anim frames + for (uint i = 0; i < _frames.size(); i++) + delete _frames[i]; } void AnimationResource::load(byte *source, int size) { |