зеркало из https://github.com/github/ruby.git
ext/objspace/object_tracing.c (freeobj_i): fix missing assignment
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
5af7cda5a5
Коммит
3c08f50770
|
@ -129,6 +129,7 @@ freeobj_i(VALUE tpval, void *data)
|
|||
}
|
||||
else {
|
||||
if (st_delete(arg->object_table, &obj, &v)) {
|
||||
info = (struct allocation_info *)v;
|
||||
delete_unique_str(arg->str_table, info->path);
|
||||
delete_unique_str(arg->str_table, info->class_path);
|
||||
ruby_xfree(info);
|
||||
|
|
Загрузка…
Ссылка в новой задаче