Skip to content

Commit

Permalink
fixed 'holes' array leak
Browse files Browse the repository at this point in the history
  • Loading branch information
nazgob committed Jun 18, 2011
1 parent f237f2f commit 6b8fd10
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vm/gc/immix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,9 @@ namespace rubinius {
std::cout << i << ": " << holes[i] << "\n";
}
}

delete[] holes;
holes = NULL;
#endif
}

Expand Down

0 comments on commit 6b8fd10

Please sign in to comment.