mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 10:26:31 +00:00
refactor: free more reachable memory with EXITFREE (#26349)
Discovered using __sanitizer_print_memory_profile().
This commit is contained in:
@@ -1117,7 +1117,6 @@ void marktree_clear(MarkTree *b)
|
||||
b->root = NULL;
|
||||
}
|
||||
map_destroy(uint64_t, b->id2node);
|
||||
*b->id2node = (PMap(uint64_t)) MAP_INIT;
|
||||
b->n_keys = 0;
|
||||
assert(b->n_nodes == 0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user