aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/memory.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2018-11-24 19:36:04 +0100
committerGitHub <noreply@github.com>2018-11-24 19:36:04 +0100
commit8b39e4ec793334be0e48101830f66e05691393bd (patch)
tree40d9b5b3fee2829baf8c3ab5fa38cf8d0629d7ce /src/nvim/memory.c
parent108566e7b6f1b331dac8e339280c230bf39c137d (diff)
parent01dbf0951b25d582451a8e656731dcf3d9295a71 (diff)
downloadrneovim-8b39e4ec793334be0e48101830f66e05691393bd.tar.gz
rneovim-8b39e4ec793334be0e48101830f66e05691393bd.tar.bz2
rneovim-8b39e4ec793334be0e48101830f66e05691393bd.zip
Merge pull request #6920 from bfredl/namespace
make namespaces explicit (intitially for bufhl and virttext)
Diffstat (limited to 'src/nvim/memory.c')
-rw-r--r--src/nvim/memory.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/memory.c b/src/nvim/memory.c
index 8789075c44..6b96a3b070 100644
--- a/src/nvim/memory.c
+++ b/src/nvim/memory.c
@@ -16,6 +16,7 @@
#include "nvim/message.h"
#include "nvim/misc1.h"
#include "nvim/ui.h"
+#include "nvim/api/vim.h"
#ifdef HAVE_JEMALLOC
// Force je_ prefix on jemalloc functions.
@@ -681,6 +682,7 @@ void free_all_mem(void)
break;
eval_clear();
+ api_vim_free_all_mem();
// Free all buffers. Reset 'autochdir' to avoid accessing things that
// were freed already.