Files
bun.sh/test/regression
Claude Bot 314dea7445 fix: memory leak in PipeReader and StaticPipeWriter error paths
Fixed unbalanced ref/deref in PipeReader.start() and StaticPipeWriter.start()
when the underlying reader/writer fails to start. Previously, ref() was called
at the start of these functions but was not paired with deref() in error paths,
causing the objects to never be freed.

This fix ensures that when start() fails, the reference count is properly
decremented to allow the object to be cleaned up.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-19 09:53:18 +00:00
..