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
2018-07-01 22:36:03 -04:00
2019-02-12 08:54:12 +04:00
2019-03-10 12:46:32 +04:00
2019-02-12 08:54:12 +04:00
2019-02-12 08:54:12 +04:00