diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-03-20 11:15:19 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-03-20 11:15:19 +0000 |
| commit | 350f34352d7680227c332c4b1e2eda7ce6cd8322 (patch) | |
| tree | 6c78d1bee9e6d706d52afc4b2744e497784f237f | |
| parent | 7042447c50e3155fcdde8e400d737c5104a8063f (diff) | |
| download | ruby-350f34352d7680227c332c4b1e2eda7ce6cd8322.tar.gz ruby-350f34352d7680227c332c4b1e2eda7ce6cd8322.tar.xz ruby-350f34352d7680227c332c4b1e2eda7ce6cd8322.zip | |
* variable.c (rb_const_list): a temporary table must be freed.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | variable.c | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Wed Mar 20 20:12:35 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> + + * variable.c (rb_const_list): a temporary table must be freed. + Wed Mar 20 19:44:09 2002 Tanaka Akira <akr@m17n.org> * mkconfig.rb: don't touch rbconfig.rb if there is a trouble. diff --git a/variable.c b/variable.c index 86a26103a..e8b860557 100644 --- a/variable.c +++ b/variable.c @@ -1259,6 +1259,7 @@ rb_const_list(data) if (!tbl) return rb_ary_new2(0); ary = rb_ary_new2(tbl->num_entries); st_foreach(tbl, list_i, ary); + st_free_table(tbl); return ary; } |
