mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* gc.c (obj_free): fix to free method table (fix memory leak).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
cb3c0b4a10
commit
a4b94c4443
2 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Wed Sep 2 11:32:24 2009 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
|
* gc.c (obj_free): fix to free method table (fix memory leak).
|
||||||
|
|
||||||
Wed Sep 2 07:42:15 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Wed Sep 2 07:42:15 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* tool/instruction.rb (RubyVM::InstructionsLoader#make_stackcaching_insns):
|
* tool/instruction.rb (RubyVM::InstructionsLoader#make_stackcaching_insns):
|
||||||
|
|
1
gc.c
1
gc.c
|
@ -1428,6 +1428,7 @@ static void
|
||||||
free_m_table(st_table *tbl)
|
free_m_table(st_table *tbl)
|
||||||
{
|
{
|
||||||
st_foreach(tbl, free_method_entry_i, 0);
|
st_foreach(tbl, free_method_entry_i, 0);
|
||||||
|
st_free_table(tbl);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue