aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/memory.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2025-03-09 13:38:32 -0700
committerGitHub <noreply@github.com>2025-03-09 13:38:32 -0700
commit25d3b92d071c77aec40f3e78d27537220fc68d70 (patch)
tree479b18b4e86c618300ab046f2f4813de36c4af0b /src/nvim/memory.c
parentd9585bdcfb5bc85c5a2f6fa5d211295c9c1011ea (diff)
parent124c655f56bcf31dfeaf91caee2e5f2fcbbfa089 (diff)
downloadrneovim-25d3b92d071c77aec40f3e78d27537220fc68d70.tar.gz
rneovim-25d3b92d071c77aec40f3e78d27537220fc68d70.tar.bz2
rneovim-25d3b92d071c77aec40f3e78d27537220fc68d70.zip
Merge #32687 "g<" for ext_messages
Diffstat (limited to 'src/nvim/memory.c')
-rw-r--r--src/nvim/memory.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/nvim/memory.c b/src/nvim/memory.c
index fa102f4e12..af766c0d20 100644
--- a/src/nvim/memory.c
+++ b/src/nvim/memory.c
@@ -856,11 +856,7 @@ void free_all_mem(void)
first_tabpage = NULL;
// message history
- while (true) {
- if (delete_first_msg() == FAIL) {
- break;
- }
- }
+ msg_hist_clear(0);
channel_free_all_mem();
eval_clear();