Skip to content

Commit

Permalink
Merge pull request #449 from masamitsu-murase/free_rescue_and_ensure_…
Browse files Browse the repository at this point in the history
…in_mrb_close

Free mrb->rescue and mrb->ensure.
  • Loading branch information
matz committed Sep 4, 2012
2 parents e8b419e + ab5a581 commit ac26b2a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/state.c
Expand Up @@ -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);
Expand Down

0 comments on commit ac26b2a

Please sign in to comment.