From 94a9096be589f113432a769372f7083db651c259 Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Tue, 12 Mar 2013 17:57:23 +0900 Subject: [PATCH] Fix a memory leak in AbstractCompositeByteBufTest --- .../netty/buffer/AbstractCompositeByteBufTest.java | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/buffer/src/test/java/io/netty/buffer/AbstractCompositeByteBufTest.java b/buffer/src/test/java/io/netty/buffer/AbstractCompositeByteBufTest.java index 0468a8869a..f2544eb990 100644 --- a/buffer/src/test/java/io/netty/buffer/AbstractCompositeByteBufTest.java +++ b/buffer/src/test/java/io/netty/buffer/AbstractCompositeByteBufTest.java @@ -423,11 +423,14 @@ public abstract class AbstractCompositeByteBufTest extends @Test public void testReadWithEmptyCompositeBuffer() { ByteBuf buf = compositeBuffer(); - int n = 65; - for (int i=0; i