good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 348c3bc4 authored by Martin Holst Swende's avatar Martin Holst Swende Committed by GitHub
Browse files

trie: fix flaw in stacktrie pool reuse (#21699)

parent 94d1f588
No related branches found
No related tags found
No related merge requests found
......@@ -113,7 +113,7 @@ func (st *StackTrie) Update(key, value []byte) {
func (st *StackTrie) Reset() {
st.db = nil
st.key = st.key[:0]
st.val = st.val[:0]
st.val = nil
for i := range st.children {
st.children[i] = nil
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment