ruby-changes:12991
From: ko1 <ko1@a...>
Date: Wed, 2 Sep 2009 11:47:22 +0900 (JST)
Subject: [ruby-changes:12991] Ruby:r24735 (trunk): * gc.c (obj_free): fix to free method table (fix memory leak).
ko1 2009-09-02 11:37:46 +0900 (Wed, 02 Sep 2009) New Revision: 24735 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=24735 Log: * gc.c (obj_free): fix to free method table (fix memory leak). Modified files: trunk/ChangeLog trunk/gc.c Index: ChangeLog =================================================================== --- ChangeLog (revision 24734) +++ ChangeLog (revision 24735) @@ -1,3 +1,7 @@ +Wed Sep 2 11:32:24 2009 Koichi Sasada <ko1@a...> + + * gc.c (obj_free): fix to free method table (fix memory leak). + Wed Sep 2 07:42:15 2009 Nobuyoshi Nakada <nobu@r...> * tool/instruction.rb (RubyVM::InstructionsLoader#make_stackcaching_insns): Index: gc.c =================================================================== --- gc.c (revision 24734) +++ gc.c (revision 24735) @@ -1428,6 +1428,7 @@ free_m_table(st_table *tbl) { st_foreach(tbl, free_method_entry_i, 0); + st_free_table(tbl); } void -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/