Skip to content

Commit

Permalink
Fix refcounting in the scope stack
Browse files Browse the repository at this point in the history
  • Loading branch information
alexp-sssup committed May 2, 2011
1 parent d9122a3 commit 11cbbb8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion scripting/abc.cpp
Expand Up @@ -1357,7 +1357,6 @@ call_context::call_context(method_info* th, int level, ASObject* const* args, co

call_context::~call_context()
{
//assert_and_throw(stack_index==0);
//The stack may be not clean, is this a programmer/compiler error?
if(stack_index)
{
Expand Down
1 change: 0 additions & 1 deletion scripting/abc_opcodes.cpp
Expand Up @@ -2500,7 +2500,6 @@ ASObject* ABCVm::newActivation(call_context* th,method_info* info)
void ABCVm::popScope(call_context* th)
{
LOG(LOG_CALLS,_("popScope"));
th->scope_stack.back()->decRef();
th->scope_stack.pop_back();
}

Expand Down

0 comments on commit 11cbbb8

Please sign in to comment.