1
0
Fork 0
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:
tmm1 2013-12-10 03:25:28 +00:00
parent 7170baa878
commit 332decb490

4
gc.c
View file

@ -4280,7 +4280,7 @@ objspaec_allrefs_destruct_i(st_data_t key, st_data_t value, void *ptr)
} }
static void 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_foreach(refs, objspaec_allrefs_destruct_i, 0);
st_free_table(refs); 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); 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; objspace->rgengc.allrefs_table = 0;
} }