aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/memory.c')
-rw-r--r--src/nvim/memory.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/memory.c b/src/nvim/memory.c
index b2aef13946..d3d0968a5c 100644
--- a/src/nvim/memory.c
+++ b/src/nvim/memory.c
@@ -10,6 +10,7 @@
#include "nvim/vim.h"
#include "nvim/eval.h"
+#include "nvim/highlight.h"
#include "nvim/memfile.h"
#include "nvim/memory.h"
#include "nvim/message.h"
@@ -696,7 +697,7 @@ void free_all_mem(void)
/* screenlines (can't display anything now!) */
free_screenlines();
- clear_hl_tables();
+ clear_hl_tables(false);
list_free_log();
}