diff options
author | richiesams | 2013-09-03 00:32:12 -0500 |
---|---|---|
committer | richiesams | 2013-09-03 00:32:12 -0500 |
commit | 98dc015dc1329ef233d4fe9606ab98c26b0f8438 (patch) | |
tree | 95ab6bdcdb8baa35e3282259b4a0c6eb71589e2b /engines | |
parent | 4d86061b5714ea7e27edffc343572eb85c57a674 (diff) | |
download | scummvm-rg350-98dc015dc1329ef233d4fe9606ab98c26b0f8438.tar.gz scummvm-rg350-98dc015dc1329ef233d4fe9606ab98c26b0f8438.tar.bz2 scummvm-rg350-98dc015dc1329ef233d4fe9606ab98c26b0f8438.zip |
ZVISION: Free the _currentBackground Surface in RenderManager destructor
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 ea34469baf..463faefdeb 100644 --- a/engines/zvision/render_manager.cpp +++ b/engines/zvision/render_manager.cpp @@ -54,6 +54,7 @@ RenderManager::RenderManager(OSystem *system, const Common::Rect workingWindow, RenderManager::~RenderManager() { delete[] _workingWindowBuffer; + _currentBackground.free(); } void RenderManager::update(uint deltaTimeInMillis) { |