diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-12-02 07:55:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-02 07:55:44 +0800 |
commit | f6e5366d0077e9f171651f37282cb5c47629d1b6 (patch) | |
tree | fb7f29ea11c7c122f3e4404c9473b8fff1dc5eaf /src/nvim/marktree.c | |
parent | 983defd284f5941c870d7868cdb60587a98ab348 (diff) | |
download | rneovim-f6e5366d0077e9f171651f37282cb5c47629d1b6.tar.gz rneovim-f6e5366d0077e9f171651f37282cb5c47629d1b6.tar.bz2 rneovim-f6e5366d0077e9f171651f37282cb5c47629d1b6.zip |
refactor: free more reachable memory with EXITFREE (#26349)
Discovered using __sanitizer_print_memory_profile().
Diffstat (limited to 'src/nvim/marktree.c')
-rw-r--r-- | src/nvim/marktree.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/marktree.c b/src/nvim/marktree.c index b555b3b4ae..f14da1b605 100644 --- a/src/nvim/marktree.c +++ b/src/nvim/marktree.c @@ -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); } |