Yumin Xia 36d7180ca2
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:56:04 +04:00
..
2019-03-10 12:56:04 +04:00
2018-09-18 12:15:44 +04:00
2019-03-10 12:56:04 +04:00
2018-09-18 12:15:44 +04:00
2019-03-10 12:56:04 +04:00
2018-09-18 12:15:44 +04:00
2019-03-10 12:56:04 +04:00
2019-03-10 12:56:04 +04:00
2019-03-10 12:56:04 +04:00
2019-03-10 12:56:04 +04:00
2018-09-18 12:15:44 +04:00