mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
gc.c: fix typo in function name
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7170baa878
commit
332decb490
1 changed files with 2 additions and 2 deletions
4
gc.c
4
gc.c
|
@ -4280,7 +4280,7 @@ objspaec_allrefs_destruct_i(st_data_t key, st_data_t value, void *ptr)
|
|||
}
|
||||
|
||||
static void
|
||||
objspaec_allrefs_destruct(struct st_table *refs)
|
||||
objspace_allrefs_destruct(struct st_table *refs)
|
||||
{
|
||||
st_foreach(refs, objspaec_allrefs_destruct_i, 0);
|
||||
st_free_table(refs);
|
||||
|
@ -4376,7 +4376,7 @@ gc_marks_check(rb_objspace_t *objspace, int (*checker_func)(ANYARGS), const char
|
|||
rb_bug("%s: GC has problem.", checker_name);
|
||||
}
|
||||
|
||||
objspaec_allrefs_destruct(objspace->rgengc.allrefs_table);
|
||||
objspace_allrefs_destruct(objspace->rgengc.allrefs_table);
|
||||
objspace->rgengc.allrefs_table = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue