aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/zvision/render_manager.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/zvision/render_manager.cpp b/engines/zvision/render_manager.cpp
index dc942fe3d0..d0356abba4 100644
--- a/engines/zvision/render_manager.cpp
+++ b/engines/zvision/render_manager.cpp
@@ -57,6 +57,10 @@ RenderManager::~RenderManager() {
_workingWindowBuffer.free();
_currentBackground.free();
_backBuffer.free();
+
+ for (Common::HashMap<uint32, AlphaDataEntry>::iterator iter = _alphaDataEntries.begin(); iter != _alphaDataEntries.end(); iter++) {
+ delete (*iter)._value.data;
+ }
}
void RenderManager::update(uint deltaTimeInMillis) {