diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | gc.c | 4 |
2 files changed, 7 insertions, 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> * proc.c (proc_binding): replicate env from method object, and @@ -4692,7 +4692,7 @@ objspace_allrefs(rb_objspace_t *objspace) } 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; reflist_destruct(refs); @@ -4702,7 +4702,7 @@ objspaec_allrefs_destruct_i(st_data_t key, st_data_t value, void *ptr) static void 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); } |