mirror of
https://github.com/ruby/ruby.git
synced 2026-01-28 04:54:23 +00:00
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