aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/made/resource.cpp3
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) {