Support User Defined PooledByteBufAllocator by Maithem · Pull Request #162 · lmdbjava/lmdbjava

@Maithem

This patch allows users to pass a PooledByteBufAllocator instance
if they wish to not use the DEFAULT instance. Also, this patch
fixes a minor bug where a ByteBuf is created during initialization
without ever being released.