Issue #22393 has been updated by Earlopain (Earlopain _). Status changed from Open to Closed Thanks. I have marked the original ticket for backport. ---------------------------------------- Bug #22393: Backport bf937bfa16767a4dd857ee16f4f18df1bae4d5ca - Fix memory leak on compile error in a later branch of an alternation https://bugs.ruby-lang.org/issues/22393#change-119258 * Author: sethuarun (Sethupathi Arunachalam) * Status: Closed * ruby -v: ruby 4.0.6 (2026-07-14 revision 03b6d3f889) +PRISM [x86_64-linux] * Backport: 3.3: UNKNOWN, 3.4: UNKNOWN, 4.0: UNKNOWN ---------------------------------------- please backport this to Ruby 4! Ruby 3 is unaffected. Commit: bf937bfa16767a4dd857ee16f4f18df1bae4d5ca PR https://github.com/ruby/ruby/pull/19026 Original ticket: 22384 -- https://bugs.ruby-lang.org/