public void release(V value) {
    Preconditions.checkNotNull(value);
    if (mFixBucketsReinitialization) {
      // Proper way
      Preconditions.checkState(mInUseLength > 0);
      mInUseLength--;
      addToFreeList(value);
    } else {
      // Keep using previous adhoc
      if (mInUseLength > 0) {
        mInUseLength--;
        addToFreeList(value);
      } else {
        FLog.e(TAG, "Tried to release value %s from an empty bucket!", value);
      }
    }
  }
Releases a value to this bucket and decrements the inUse count

@param value the value to release
imagepipeline/src/main/java/com/facebook/imagepipeline/memory/Bucket.java