Skip to content

Commit

Permalink
Merge pull request #1 from apache/3.2
Browse files Browse the repository at this point in the history
fix: Bytebuf resource leak (apache#14071)
  • Loading branch information
Chenjp authored Apr 16, 2024
2 parents fca8ed2 + ca7151e commit 0e42c5b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,7 @@ public void onData(ByteBuf data, boolean endStream) {

private void doOnData(ByteBuf data, boolean endStream) {
if (deframer == null) {
ReferenceCountUtil.release(data);
return;
}
deframer.deframe(data);
Expand Down

0 comments on commit 0e42c5b

Please sign in to comment.