Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Free mrb->rescue and mrb->ensure.

  • Loading branch information...
commit ab5a5813c417f2f88e828fff66145f23c65d15a2 1 parent 50d469d
@masamitsu-murase masamitsu-murase authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  src/state.c
View
2  src/state.c
@@ -99,6 +99,8 @@ mrb_close(mrb_state *mrb)
mrb_free(mrb, mrb->irep[i]);
}
mrb_free(mrb, mrb->irep);
+ mrb_free(mrb, mrb->rescue);
+ mrb_free(mrb, mrb->ensure);
mrb_free_symtbl(mrb);
mrb_free_heap(mrb);
mrb_alloca_free(mrb);
Please sign in to comment.
Something went wrong with that request. Please try again.