mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* gc.c (objspace_allrefs_destruct_i): fix a typo.
[Bug #11013] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
101d566ce8
commit
2e9f4bfd51
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Sun Mar 29 21:08:37 2015 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
|
||||||
|
|
||||||
|
* gc.c (objspace_allrefs_destruct_i): fix a typo.
|
||||||
|
[Bug #11013]
|
||||||
|
|
||||||
Sun Mar 29 11:51:32 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Sun Mar 29 11:51:32 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* proc.c (proc_binding): replicate env from method object, and
|
* proc.c (proc_binding): replicate env from method object, and
|
||||||
|
|
4
gc.c
4
gc.c
|
@ -4692,7 +4692,7 @@ objspace_allrefs(rb_objspace_t *objspace)
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
objspaec_allrefs_destruct_i(st_data_t key, st_data_t value, void *ptr)
|
objspace_allrefs_destruct_i(st_data_t key, st_data_t value, void *ptr)
|
||||||
{
|
{
|
||||||
struct reflist *refs = (struct reflist *)value;
|
struct reflist *refs = (struct reflist *)value;
|
||||||
reflist_destruct(refs);
|
reflist_destruct(refs);
|
||||||
|
@ -4702,7 +4702,7 @@ objspaec_allrefs_destruct_i(st_data_t key, st_data_t value, void *ptr)
|
||||||
static void
|
static void
|
||||||
objspace_allrefs_destruct(struct st_table *refs)
|
objspace_allrefs_destruct(struct st_table *refs)
|
||||||
{
|
{
|
||||||
st_foreach(refs, objspaec_allrefs_destruct_i, 0);
|
st_foreach(refs, objspace_allrefs_destruct_i, 0);
|
||||||
st_free_table(refs);
|
st_free_table(refs);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue