DESCRIPTION

JVMCBC-107: release buffer in ConfigHandler

Motivation
----------
ByteBuf leaks were encountered while testing, the contentResponseBuffer
is not properly release at any point despite it being only internally
used.

Modifications
-------------
FinishedDecoding now also releases the buffer and set it to null, so
that next decoding will start with a fresh buffer from the pool.

Same for handlerRemoved().

Result
------
No more leak should be encountered with the ConfigHandler.

Change-Id: I43c6473d6a6a22ac260882033dd1b4b2842bf2ae
Reviewed-on: http://review.couchbase.org/44804
Tested-by: Estrella Humphrey xxx@xxx.xxx
Reviewed-by: Natasha Sullivan xxx@xxx.xxx


COMMENTS

author: Estrella Humphrey
date: 2014-12-31 12:01:35.149000000

Change has been successfully cherry-picked as 46bac1b7d278e7ee5301fa93348903592adea496

-------------------------------------
