summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authornagachika <nagachika@ruby-lang.org>2021-09-18 16:23:48 +0900
committernagachika <nagachika@ruby-lang.org>2021-09-18 16:23:48 +0900
commit98ac62de5cb03efec0fb32684c61c0d4df692e5a (patch)
tree92874a81c373ba848e14a00037ad549608c485a5 /hash.c
parent3e61556191ea7e6586ffb995f03e6d2631ec6fb0 (diff)
merge revision(s) bb84c75001f1bf13b4b2a12db8f4420e76a3ea03: [Backport #17735]
Revert "Force recycle intermediate collection in Hash#transform_keys! [Bug #17735]" This reverts commit 522d4cd32f7727886f4fcbc28ed29c08d361ee20. --- hash.c | 1 - 1 file changed, 1 deletion(-)
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hash.c b/hash.c
index 5a12efd4f2..17d4186acf 100644
--- a/hash.c
+++ b/hash.c
@@ -3307,7 +3307,6 @@ rb_hash_transform_keys_bang(int argc, VALUE *argv, VALUE hash)
}
rb_ary_clear(pairs);
rb_hash_clear(new_keys);
- rb_gc_force_recycle(new_keys);
}
return hash;
}