From fb87e2906a04e9c93ebf0657673661b9285628da Mon Sep 17 00:00:00 2001 From: Jeff Pinner Date: Sun, 4 May 2014 13:18:58 -0700 Subject: [PATCH] SPDY: release headerBlock in SpdyFrameCodec --- .../main/java/io/netty/handler/codec/spdy/SpdyFrameCodec.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codec-http/src/main/java/io/netty/handler/codec/spdy/SpdyFrameCodec.java b/codec-http/src/main/java/io/netty/handler/codec/spdy/SpdyFrameCodec.java index c8a10f5368..7a15d8014b 100644 --- a/codec-http/src/main/java/io/netty/handler/codec/spdy/SpdyFrameCodec.java +++ b/codec-http/src/main/java/io/netty/handler/codec/spdy/SpdyFrameCodec.java @@ -327,6 +327,8 @@ public class SpdyFrameCodec extends ByteToMessageDecoder spdyHeaderBlockDecoder.decode(headerBlock, spdyHeadersFrame); } catch (Exception e) { ctx.fireExceptionCaught(e); + } finally { + headerBlock.release(); } }