Fix a leak in HttpResponseDecoderTest
This commit is contained in:
parent
0052d83db1
commit
47d0a85720
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user