Fix memory leak in UnpooledTest
- nothing critical. It's a test that leaks. Not CompositeByteBuf implementation.
This commit is contained in:
parent
cef81f1bff
commit
b271774c90
@ -207,7 +207,11 @@ public class UnpooledTest {
|
|||||||
EMPTY_BUFFER,
|
EMPTY_BUFFER,
|
||||||
wrappedBuffer(new byte[16]).order(LITTLE_ENDIAN),
|
wrappedBuffer(new byte[16]).order(LITTLE_ENDIAN),
|
||||||
EMPTY_BUFFER);
|
EMPTY_BUFFER);
|
||||||
assertEquals(16, buf.capacity());
|
try {
|
||||||
|
assertEquals(16, buf.capacity());
|
||||||
|
} finally {
|
||||||
|
buf.release();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
Loading…
Reference in New Issue
Block a user