[#1507] Fix buffer leak in WebSocket08FrameDecoder
This commit is contained in:
parent
ec5e793a2f
commit
a4ee2841be
@ -288,6 +288,7 @@ public class WebSocket08FrameDecoder extends ReplayingDecoder<WebSocket08FrameDe
|
||||
framePayload = payloadBuffer;
|
||||
} else if (payloadBuffer != null) {
|
||||
framePayload.writeBytes(payloadBuffer);
|
||||
payloadBuffer.release();
|
||||
}
|
||||
|
||||
// Unmask data if needed
|
||||
|
Loading…
Reference in New Issue
Block a user