aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/memory.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-07-27 22:56:05 +0200
committerGitHub <noreply@github.com>2019-07-27 22:56:05 +0200
commit8e6b0a73c91bb8650e21f56183c7fa83f6fb312f (patch)
treeac70d41d2179452b01fd618afeb6d0e39be26576 /src/nvim/memory.c
parent0e23ee3cc77960f5348dfa6eeb56e97432019126 (diff)
parentb6278bbf12dd4946095b76f47b7c2ace3f929245 (diff)
downloadrneovim-8e6b0a73c91bb8650e21f56183c7fa83f6fb312f.tar.gz
rneovim-8e6b0a73c91bb8650e21f56183c7fa83f6fb312f.tar.bz2
rneovim-8e6b0a73c91bb8650e21f56183c7fa83f6fb312f.zip
Merge #10619 'API: context'
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 1384aa177b..64aae71433 100644
--- a/src/nvim/memory.c
+++ b/src/nvim/memory.c
@@ -9,6 +9,7 @@
#include <stdbool.h>
#include "nvim/vim.h"
+#include "nvim/context.h"
#include "nvim/eval.h"
#include "nvim/highlight.h"
#include "nvim/memfile.h"
@@ -671,6 +672,7 @@ void free_all_mem(void)
eval_clear();
api_vim_free_all_mem();
+ ctx_free_all();
// Free all buffers. Reset 'autochdir' to avoid accessing things that
// were freed already.