diff --git a/codec-socks/src/test/java/io/netty/handler/codec/socksx/v5/DefaultSocks5CommandResponseTest.java b/codec-socks/src/test/java/io/netty/handler/codec/socksx/v5/DefaultSocks5CommandResponseTest.java index 79717b36c2..36fea75027 100755 --- a/codec-socks/src/test/java/io/netty/handler/codec/socksx/v5/DefaultSocks5CommandResponseTest.java +++ b/codec-socks/src/test/java/io/netty/handler/codec/socksx/v5/DefaultSocks5CommandResponseTest.java @@ -57,6 +57,7 @@ public class DefaultSocks5CommandResponseTest { 0x00 }; assertByteBufEquals(expected, buffer); + buffer.release(); } /** @@ -83,6 +84,7 @@ public class DefaultSocks5CommandResponseTest { 0x50 }; assertByteBufEquals(expected, buffer); + buffer.release(); } /** @@ -106,6 +108,7 @@ public class DefaultSocks5CommandResponseTest { 0x50 }; assertByteBufEquals(expected, buffer); + buffer.release(); } /**