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-02-18 13:23:40 +04:00
2019-02-18 13:23:40 +04:00
2019-03-10 12:56:04 +04:00
2019-02-08 18:40:41 -05:00