Skip to content

Commit

Permalink
ZVISION: Plug a memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
bluegr committed Dec 24, 2014
1 parent 11d3227 commit 16e2083
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engines/zvision/scripting/sidefx/animation_node.cpp
Expand Up @@ -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)
Expand Down

0 comments on commit 16e2083

Please sign in to comment.