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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/memory.c b/src/nvim/memory.c
index 5e6c6a8189..5345580b93 100644
--- a/src/nvim/memory.c
+++ b/src/nvim/memory.c
@@ -8,7 +8,7 @@
#include <stdbool.h>
#include <string.h>
-#include "nvim/api/vim.h"
+#include "nvim/api/extmark.h"
#include "nvim/context.h"
#include "nvim/decoration.h"
#include "nvim/eval.h"
@@ -679,7 +679,7 @@ void free_all_mem(void)
}
eval_clear();
- api_vim_free_all_mem();
+ api_extmark_free_all_mem();
ctx_free_all();
// Free all buffers. Reset 'autochdir' to avoid accessing things that