DESCRIPTION

JCBC-684: Fix leaks in BucketManager

Motivation
----------
The BucketManager has a few places where ByteBufs are not properly
released.

Modifications
-------------
Properly release allocated ByteBufs back to the allocator.

Result
------
BucketManager does not leak byte buffers anymore.

Change-Id: I7922b563e4c89d966168a122dac2d513d5668449


COMMENTS

author: Natasha Sullivan
date: 2015-01-16 10:44:35.894000000

Uploaded patch set 1.

-------------------------------------
author: Natasha Sullivan
date: 2015-01-16 10:46:00.720000000

Patch Set 1: Verified+1

-------------------------------------
author: Estrella Humphrey
date: 2015-01-16 11:54:15.169000000

Patch Set 1:

(1 comment)

Line:138, src/main/java/com/couchbase/client/java/bucket/DefaultAsyncBucketManager.java -> this one is not released either, right?

-------------------------------------
author: Estrella Humphrey
date: 2015-01-16 11:56:59.602000000

Patch Set 1: Code-Review+2

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