From 332decb490d56025f7b24088aa7f5f1a6fcb03e5 Mon Sep 17 00:00:00 2001 From: tmm1 Date: Tue, 10 Dec 2013 03:25:28 +0000 Subject: [PATCH] gc.c: fix typo in function name git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- gc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gc.c b/gc.c index 3d6ca43e37..ad67023321 100644 --- a/gc.c +++ b/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; }