aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrichiesams2013-08-16 12:18:19 -0500
committerrichiesams2013-08-16 12:18:19 -0500
commit1c6ffd133acdddb8d08249d3a49caf523fd1d01e (patch)
treec635709598cd38baf548d01d3609dcc24f67c60e
parente0937a12cd47201a6dce6822e20657b2df5785af (diff)
downloadscummvm-rg350-1c6ffd133acdddb8d08249d3a49caf523fd1d01e.tar.gz
scummvm-rg350-1c6ffd133acdddb8d08249d3a49caf523fd1d01e.tar.bz2
scummvm-rg350-1c6ffd133acdddb8d08249d3a49caf523fd1d01e.zip
ZVISION: Clean up backbuffer memory after we're finished with it
-rw-r--r--engines/zvision/render_manager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/zvision/render_manager.cpp b/engines/zvision/render_manager.cpp
index bfafd7fe19..d8b8ce167d 100644
--- a/engines/zvision/render_manager.cpp
+++ b/engines/zvision/render_manager.cpp
@@ -56,6 +56,7 @@ RenderManager::~RenderManager() {
}
_backbuffer.free();
+ delete[] _warpedBackbuffer;
}
void RenderManager::update(uint deltaTimeInMillis) {