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/ui.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/ui.c')
-rw-r--r-- | src/nvim/ui.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/ui.c b/src/nvim/ui.c index b068847e85..cb4ebb5c3b 100644 --- a/src/nvim/ui.c +++ b/src/nvim/ui.c @@ -134,6 +134,8 @@ void ui_free_all_mem(void) free_ui_event_callback(event_cb); }) map_destroy(uint32_t, &ui_event_cbs); + + multiqueue_free(resize_events); } #endif |