Skip to content

Conversation

@yiitz
Copy link
Contributor

@yiitz yiitz commented May 18, 2025

This PR fixes two issues where buffers were not released.

  1. defer b.Release() not woking because b is always null.

    var b *buf.Buffer
    defer b.Release()

  2. SimpleSegmentWriter.buffer never release.

@xiaokangwang
Copy link
Contributor

Thanks for your contribution. I will merge it now and monitor the feedback.

@xiaokangwang xiaokangwang merged commit 7c5e4c7 into v2fly:master May 26, 2025
40 of 41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants