From 0ef87697d559101e9e0a659bf97cb937c4201271 Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Tue, 24 Jun 2014 16:22:53 +0900 Subject: [PATCH] Fix potential buffer leak in AbstractBinaryMemcacheDecoder If a connection is closed unexpectedly while AbstractBinaryMemcacheDecoder decodes a message, the half-constructed message's content might not be released. --- .../codec/memcache/binary/AbstractBinaryMemcacheDecoder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codec-memcache/src/main/java/io/netty/handler/codec/memcache/binary/AbstractBinaryMemcacheDecoder.java b/codec-memcache/src/main/java/io/netty/handler/codec/memcache/binary/AbstractBinaryMemcacheDecoder.java index 58d29383be..eb5c5c9c7c 100644 --- a/codec-memcache/src/main/java/io/netty/handler/codec/memcache/binary/AbstractBinaryMemcacheDecoder.java +++ b/codec-memcache/src/main/java/io/netty/handler/codec/memcache/binary/AbstractBinaryMemcacheDecoder.java @@ -200,8 +200,8 @@ public abstract class AbstractBinaryMemcacheDecoder