From 73379195ebe71876a5a2bfee099e0812b4d0f518 Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Sat, 7 Dec 2013 11:19:26 +0900 Subject: [PATCH] Fix a buffer leak in BinaryMemcacheObjectAggregatorTest --- .../memcache/binary/BinaryMemcacheObjectAggregatorTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codec-memcache/src/test/java/io/netty/handler/codec/memcache/binary/BinaryMemcacheObjectAggregatorTest.java b/codec-memcache/src/test/java/io/netty/handler/codec/memcache/binary/BinaryMemcacheObjectAggregatorTest.java index 2e9399d041..d6bf32ee45 100644 --- a/codec-memcache/src/test/java/io/netty/handler/codec/memcache/binary/BinaryMemcacheObjectAggregatorTest.java +++ b/codec-memcache/src/test/java/io/netty/handler/codec/memcache/binary/BinaryMemcacheObjectAggregatorTest.java @@ -68,8 +68,8 @@ public class BinaryMemcacheObjectAggregatorTest { assertThat(request.content().readableBytes(), is(8)); assertThat(request.content().readByte(), is((byte) 0x01)); assertThat(request.content().readByte(), is((byte) 0x02)); + request.release(); assertThat(channel.readInbound(), nullValue()); } - }