mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 20:44:20 +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