diff options
-rw-r--r-- | engines/bladerunner/slice_animations.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/bladerunner/slice_animations.cpp b/engines/bladerunner/slice_animations.cpp index b17e5173ae..6d0347c476 100644 --- a/engines/bladerunner/slice_animations.cpp +++ b/engines/bladerunner/slice_animations.cpp @@ -94,7 +94,7 @@ bool SliceAnimations::open(const Common::String &name) { } SliceAnimations::~SliceAnimations() { - for (uint32 i = 0; i != _pageCount; ++i) + for (uint32 i = 0; i != _pages.size(); ++i) free(_pages[i]._data); } |