(#2250) - fix small leveldb memory leak