1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Stop force-recycling evacuated array [Bug #18065]

This commit is contained in:
Nobuyoshi Nakada 2021-08-07 12:08:20 +09:00
parent d16b68cb22
commit e5dd40b1f3
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

1
hash.c
View file

@ -3315,7 +3315,6 @@ rb_hash_transform_keys_bang(int argc, VALUE *argv, VALUE hash)
rb_hash_aset(new_keys, new_key, Qnil);
}
rb_ary_clear(pairs);
rb_gc_force_recycle(pairs);
rb_hash_clear(new_keys);
rb_gc_force_recycle(new_keys);
}