Skip to content

Commit

Permalink
[Issue 253] Fix netty memory leak in TransportResponseHandler (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
dxheming authored Jul 12, 2022
1 parent 691beb7 commit 386dfc9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ public void handle(ResponseMessage message) throws Exception {
if (listener == null) {
logger.warn("Ignoring response for RPC {} from {} ({} bytes) since it is not outstanding",
resp.requestId, NettyUtils.getRemoteAddress(channel), resp.body().size());
resp.body().release();
} else {
outstandingRpcs.remove(resp.requestId);
try {
Expand Down

0 comments on commit 386dfc9

Please sign in to comment.