Fix a buffer leak in BinaryMemcacheObjectAggregatorTest
This commit is contained in:
parent
26fc84529f
commit
d417e3dbd0
@ -68,8 +68,8 @@ public class BinaryMemcacheObjectAggregatorTest {
|
|||||||
assertThat(request.content().readableBytes(), is(8));
|
assertThat(request.content().readableBytes(), is(8));
|
||||||
assertThat(request.content().readByte(), is((byte) 0x01));
|
assertThat(request.content().readByte(), is((byte) 0x01));
|
||||||
assertThat(request.content().readByte(), is((byte) 0x02));
|
assertThat(request.content().readByte(), is((byte) 0x02));
|
||||||
|
request.release();
|
||||||
|
|
||||||
assertThat(channel.readInbound(), nullValue());
|
assertThat(channel.readInbound(), nullValue());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user