summaryrefslogtreecommitdiff
path: root/include/ruby/internal/encoding/string.h
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2024-09-23 13:55:37 -0400
committerPeter Zhu <peter@peterzhu.ca>2024-09-25 08:56:14 -0400
commit407f8b871668b257f28303a74cf38cc2b53ca965 (patch)
tree9c4e92d4a5b908da3ab60cfa81456c89ad24c7c2 /include/ruby/internal/encoding/string.h
parent3830bca5edd6964131971866c80107c89fac5362 (diff)
Fix memory leak in Ripper for indented heredocs
The allocated parser string is never freed, which causes a memory leak. The following code leaks memory: Ripper.sexp_raw(DATA.read) __END__ <<~EOF a #{1} a EOF
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/11669
Diffstat (limited to 'include/ruby/internal/encoding/string.h')
0 files changed, 0 insertions, 0 deletions