ruby/internal
Peter Zhu 407f8b8716 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
2024-09-25 08:56:14 -04:00
..
2024-09-05 12:46:02 +02:00
2024-03-06 15:33:43 -05:00
2024-09-05 12:46:02 +02:00
2024-04-04 15:00:57 +01:00
2024-03-18 13:52:27 +09:00