mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 19:08:50 +00:00
## Summary - Fix memory leak in YAML parser that caused segfaults after high-volume parsing - Added `defer parser.deinit()` to free internal data structures (context, block_indents, anchors, tag_handles, whitespace_buf) - Fixes #26088 ## Test plan - [x] Added regression test at `test/regression/issue/26088.test.ts` - [x] Verified YAML parsing still works correctly with debug build - [x] Ran subset of YAML tests to confirm no regressions 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Bot <claude-bot@bun.sh> Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1.0 KiB
1.0 KiB