Fix a leak in HttpResponseDecoderTest

This commit is contained in:
Trustin Lee 2013-12-19 01:13:02 +09:00
parent 0052d83db1
commit 47d0a85720

View File

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