Fix resource leak in LengthFieldBasedFrameDecoderTest

This commit is contained in:
Trustin Lee 2013-07-18 20:55:02 +09:00
parent ac6c3b85f2
commit fe59ab1b9c

View File

@ -44,6 +44,7 @@ public class LengthFieldBasedFrameDecoderTest {
ch.writeInbound(Unpooled.wrappedBuffer(new byte[] { 0, 0, 0, 1, 'A' }));
ByteBuf buf = (ByteBuf) ch.readInbound();
assertEquals("A", buf.toString(CharsetUtil.ISO_8859_1));
buf.release();
}
}