aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/extmark.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/extmark.c b/src/nvim/extmark.c
index 20a701d5a1..22d01084d4 100644
--- a/src/nvim/extmark.c
+++ b/src/nvim/extmark.c
@@ -309,6 +309,9 @@ void extmark_free_all(buf_T *buf)
marktree_clear(buf->b_marktree);
+ buf->b_signcols.max = 0;
+ CLEAR_FIELD(buf->b_signcols.count);
+
map_destroy(uint32_t, buf->b_extmark_ns);
*buf->b_extmark_ns = (Map(uint32_t, uint32_t)) MAP_INIT;
}