Skip to content

Commit

Permalink
fix: Bytebuf resource leak (#14071)
Browse files Browse the repository at this point in the history
  • Loading branch information
aofall committed Apr 16, 2024
1 parent 155c2f2 commit ca7151e
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 ca7151e

Please sign in to comment.