Fix a buffer leak in BinaryMemcacheObjectAggregatorTest
This commit is contained in:
parent
b6ac202c15
commit
73379195eb
@ -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…
Reference in New Issue
Block a user