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 | 3adfc84e73c492b7f19e65e5578b21e673273afe (patch) | |
tree | 6c78d1bee9e6d706d52afc4b2744e497784f237f /variable.c | |
parent | 879a5e46a5f3ec87714514d38727416a4a33f012 (diff) | |
download | ruby-3adfc84e73c492b7f19e65e5578b21e673273afe.tar.gz |
* variable.c (rb_const_list): a temporary table must be freed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'variable.c')
-rw-r--r-- | variable.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/variable.c b/variable.c index 86a26103a5..e8b8605576 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; } |