Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Plug memory leak in fibers

  • Loading branch information...
commit 88bd8dfa62a349f392684d00ff4f3dbaec6f9ff9 1 parent 4658a26
@dbussink dbussink authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 vm/fiber_stack.cpp
View
4 vm/fiber_stack.cpp
@@ -57,7 +57,9 @@ namespace rubinius {
i != datas_.end();
++i)
{
- (*i)->die();
+ FiberData* data = *i;
+ data->die();
+ delete data;
}
for(Stacks::iterator i = stacks_.begin();
Please sign in to comment.
Something went wrong with that request. Please try again.