summaryrefslogtreecommitdiff
path: root/coroutine/win64
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2026-06-15 10:38:43 +0900
committerJean Boussier <jean.boussier@gmail.com>2026-06-15 08:41:32 +0200
commit810219ee5870ea98993782138efe987fd8d07696 (patch)
tree5e8ac6675b8bddb5801570ee5f761f691dc7bbf9 /coroutine/win64
parent0d6d57cfcdcda737e084a33b94a657598f2bf2e7 (diff)
Free the converted replacement string with its buffer sizeHEADmaster
rb_econv_close freed ec->replacement_str using replacement_len, but when the replacement is converted to the destination encoding its allocated size is replacement_bufsize, which can be larger. Free it with bufsize, as rb_econv_set_replacement already does. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'coroutine/win64')
0 files changed, 0 insertions, 0 deletions