cosmos / iavl

Merkleized IAVL+ Tree implementation in Go
Apache License 2.0
417 stars 263 forks source link

fix: memory leak in `Import` (backport #773) #774

Closed yihuang closed 1 year ago

yihuang commented 1 year ago

don't reference the children, which recursively retain the whole subtree in memory.

fedekunze commented 1 year ago

@tac0turtle @alexanderbez can you review this one too?