summaryrefslogtreecommitdiffstats
path: root/src/diag.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-10-30 13:18:26 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-11-02 11:25:10 -0400
commit789e19f9dca87780aff3485d4a120d8b4ddedfb1 (patch)
tree4b95a7b02632aa7d8307f5a670ac78e19a50e994 /src/diag.h
parentc90d4af8750bef77ce9abe91df80d5d98ba297d7 (diff)
downloadbfs-789e19f9dca87780aff3485d4a120d8b4ddedfb1.tar.xz
trie: Fix varena_free() with wrong size
In trie_remove(), clearing the bit before trie_node_collapse() causes us to free the old node with size 1 instead of 2, putting it on the wrong freelist. This is technically safe with the current arena implementation, but not intentional.
Diffstat (limited to 'src/diag.h')
0 files changed, 0 insertions, 0 deletions