diff options
author | RichieSams | 2013-09-22 17:50:39 -0500 |
---|---|---|
committer | RichieSams | 2013-09-22 17:57:15 -0500 |
commit | fdd477df616f307bc599c2274d312ae1b62703a2 (patch) | |
tree | e4e0f24bef14afed3389fbe882abf5d27545a205 /engines | |
parent | a7ffd9ade641a2fd63ea8b04822942bda16a8f4c (diff) | |
download | scummvm-rg350-fdd477df616f307bc599c2274d312ae1b62703a2.tar.gz scummvm-rg350-fdd477df616f307bc599c2274d312ae1b62703a2.tar.bz2 scummvm-rg350-fdd477df616f307bc599c2274d312ae1b62703a2.zip |
ZVISION: Free AlphaDataEntry Surfaces before deleting them
Diffstat (limited to 'engines')
-rw-r--r-- | engines/zvision/render_manager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/zvision/render_manager.cpp b/engines/zvision/render_manager.cpp index d0356abba4..b3561fffaf 100644 --- a/engines/zvision/render_manager.cpp +++ b/engines/zvision/render_manager.cpp @@ -59,6 +59,7 @@ RenderManager::~RenderManager() { _backBuffer.free(); for (Common::HashMap<uint32, AlphaDataEntry>::iterator iter = _alphaDataEntries.begin(); iter != _alphaDataEntries.end(); iter++) { + (*iter)._value.data->free(); delete (*iter)._value.data; } } |