Yumin Xia b021f1e505 libs/db: close batch (#3397)
ClevelDB requires closing when WriteBatch is no longer needed, https://godoc.org/github.com/jmhodges/levigo#WriteBatch.Close

Fixes the memory leak in https://github.com/cosmos/cosmos-sdk/issues/3842
2019-03-10 12:46:32 +04:00
..
2019-03-10 12:46:32 +04:00
2019-03-10 12:46:32 +04:00
2019-03-07 09:10:34 +04:00
2019-03-10 12:46:32 +04:00
2018-09-18 12:15:44 +04:00
2019-03-10 12:46:32 +04:00
2019-03-10 12:46:32 +04:00
2019-03-10 12:46:32 +04:00
2019-03-10 12:46:32 +04:00
2018-09-18 12:15:44 +04:00