diff options
author | Filippos Karapetis | 2014-12-24 22:07:42 +0200 |
---|---|---|
committer | Filippos Karapetis | 2014-12-24 22:56:54 +0200 |
commit | 16e208318cf75dbe290060663119d1c533f4dd7b (patch) | |
tree | c6be7154cc3d6e7ead2b83b8e1fcef990cce38cb | |
parent | 11d3227796a5d58a6e0f362e7982e27bf6d8fcd8 (diff) | |
download | scummvm-rg350-16e208318cf75dbe290060663119d1c533f4dd7b.tar.gz scummvm-rg350-16e208318cf75dbe290060663119d1c533f4dd7b.tar.bz2 scummvm-rg350-16e208318cf75dbe290060663119d1c533f4dd7b.zip |
ZVISION: Plug a memory leak
-rw-r--r-- | engines/zvision/scripting/sidefx/animation_node.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/zvision/scripting/sidefx/animation_node.cpp b/engines/zvision/scripting/sidefx/animation_node.cpp index 1f62b61310..bf3509f545 100644 --- a/engines/zvision/scripting/sidefx/animation_node.cpp +++ b/engines/zvision/scripting/sidefx/animation_node.cpp @@ -161,6 +161,7 @@ bool AnimationNode::process(uint32 deltaTimeInMillis) { _engine->getRenderManager()->blitSurfaceToBkg(*transposed, nod->pos.left, nod->pos.top, _mask); else _engine->getRenderManager()->blitSurfaceToBkg(*transposed, nod->pos.left, nod->pos.top); + transposed->free(); delete transposed; } else { if (_mask > 0) |