Skip to content

Commit

Permalink
Fix resource leak in LengthFieldBasedFrameDecoderTest
Browse files Browse the repository at this point in the history
  • Loading branch information
trustin committed Jul 18, 2013
1 parent ac6c3b8 commit fe59ab1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public void testFailSlowTooLongFrameRecovery() throws Exception {
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();
}
}

Expand Down

0 comments on commit fe59ab1

Please sign in to comment.