Fix a leak in HttpResponseDecoderTest

This commit is contained in:
Trustin Lee 2013-12-19 01:13:02 +09:00
parent 04ec2e1330
commit 906e2d2b37

View File

@ -94,6 +94,7 @@ public class HttpResponseDecoderTest {
HttpContent content = ch.readInbound();
assertEquals(32, content.content().readableBytes());
content.content().readBytes(decodedData, 0, 32);
content.release();
content = ch.readInbound();
assertEquals(32, content.content().readableBytes());