Skip to content

Conversation

0xmountaintop
Copy link

cherry-pick fb2ae8e

omerfirmak
omerfirmak previously approved these changes May 28, 2024
rjl493456442 and others added 2 commits May 28, 2024 19:23
* trie: fix memory leak in trie iterator

In the trie iterator, live nodes are tracked in a stack while iterating.
Popped node states should be explictly set to nil in order to get
garbage-collected.

* trie: fix empty trie iterator
@0xmountaintop 0xmountaintop merged commit 760f234 into develop May 28, 2024
@0xmountaintop 0xmountaintop deleted the upstream_24539 branch May 28, 2024 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants