* 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
This commit is contained in:
parent
879a5e46a5
commit
3adfc84e73
@ -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>
|
Wed Mar 20 19:44:09 2002 Tanaka Akira <akr@m17n.org>
|
||||||
|
|
||||||
* mkconfig.rb: don't touch rbconfig.rb if there is a trouble.
|
* mkconfig.rb: don't touch rbconfig.rb if there is a trouble.
|
||||||
|
@ -1259,6 +1259,7 @@ rb_const_list(data)
|
|||||||
if (!tbl) return rb_ary_new2(0);
|
if (!tbl) return rb_ary_new2(0);
|
||||||
ary = rb_ary_new2(tbl->num_entries);
|
ary = rb_ary_new2(tbl->num_entries);
|
||||||
st_foreach(tbl, list_i, ary);
|
st_foreach(tbl, list_i, ary);
|
||||||
|
st_free_table(tbl);
|
||||||
|
|
||||||
return ary;
|
return ary;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user