From 6036b3f6eac7b54562dcddd3b2b97175d041335a Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Mon, 27 Mar 2017 05:20:02 +0200 Subject: [PATCH] Fix buffer leak in EmptyByteBufTest introduced by aa2f16f3143e46412e3c043b097e0f70f5026196 --- buffer/src/test/java/io/netty/buffer/EmptyByteBufTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/buffer/src/test/java/io/netty/buffer/EmptyByteBufTest.java b/buffer/src/test/java/io/netty/buffer/EmptyByteBufTest.java index 6a31b51e00..92bdc8eb16 100644 --- a/buffer/src/test/java/io/netty/buffer/EmptyByteBufTest.java +++ b/buffer/src/test/java/io/netty/buffer/EmptyByteBufTest.java @@ -38,6 +38,8 @@ public class EmptyByteBufTest { fail(); } catch (IndexOutOfBoundsException ignored) { // Ignore. + } finally { + nonEmpty.release(); } }