зеркало из https://github.com/github/ruby.git
* 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:
Родитель
101d566ce8
Коммит
2e9f4bfd51
|
@ -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
|
||||
|
|
4
gc.c
4
gc.c
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче