free memory used by breakpoints

This commit is contained in:
cremno
2014-11-20 01:20:30 +01:00
committed by Yukihiro "Matz" Matsumoto
parent 1cc6eaca2a
commit 553b9df306
@@ -215,6 +215,7 @@ void
mrb_debug_context_free(mrb_state *mrb)
{
if (_debug_context) {
mrb_debug_delete_break_all(mrb, _debug_context);
mrb_free(mrb, _debug_context);
_debug_context = NULL;
}