[#1507] Fix buffer leak in WebSocket08FrameDecoder

This commit is contained in:
Norman Maurer 2013-07-02 13:46:09 +02:00
parent ec5e793a2f
commit a4ee2841be

View File

@ -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