Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix byteBuf potential memory leak problem. #3525

Merged
merged 2 commits into from
Oct 13, 2022

Conversation

horizonzy
Copy link
Member

Descriptions of the changes in this PR:
If we don't flush the ReadResponse, the ByteBuf won't be released.

Copy link
Contributor

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@michaeljmarshall michaeljmarshall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, great find!

@zymap zymap added the type/bug label Oct 13, 2022
@zymap zymap added this to the 4.16.0 milestone Oct 13, 2022
Copy link
Contributor

@StevenLuMT StevenLuMT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@StevenLuMT StevenLuMT merged commit 6215536 into apache:master Oct 13, 2022
@hangc0276
Copy link
Contributor

@horizonzy Great job! Would you please create a separate PR for branch-4.14?

zymap pushed a commit that referenced this pull request Oct 26, 2022
* Fix byteBuf potential memory leak problem.

(cherry picked from commit 6215536)
Ghatage pushed a commit to sijie/bookkeeper that referenced this pull request Jul 12, 2024
* Fix byteBuf potential memory leak problem.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants