summaryrefslogtreecommitdiff
path: root/spec/ruby/shared/string
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2022-03-11 11:45:14 -0500
committerPeter Zhu <peter@peterzhu.ca>2022-03-11 11:45:14 -0500
commit42e5ec941489c11a180ed75c6348419c79aefff1 (patch)
treee378659dc8545ce6e83e4a8c99abea620352f771 /spec/ruby/shared/string
parent2e4516be26e126ec9e7528d1de0d4a0b7332f6dd (diff)
Refactor duplicate code in rb_array_replace
In both cases in the if statement, we free heap allocated arrays and unshare shared arrays.
Diffstat (limited to 'spec/ruby/shared/string')
0 files changed, 0 insertions, 0 deletions