diff options
Diffstat (limited to 'hash.c')
-rw-r--r-- | hash.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3294,7 +3294,9 @@ 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); } return hash; } |