diff options
author | Abdelhakeem <abdelhakeem.osama@hotmail.com> | 2019-07-21 21:41:04 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-07-27 22:14:58 +0200 |
commit | b6278bbf12dd4946095b76f47b7c2ace3f929245 (patch) | |
tree | 37d30921c145e9266535441b7e51959ddbc7b8b2 /src/nvim/memory.c | |
parent | 691deca2e8449ec0c3b5081ed4fe6076fd820913 (diff) | |
download | rneovim-b6278bbf12dd4946095b76f47b7c2ace3f929245.tar.gz rneovim-b6278bbf12dd4946095b76f47b7c2ace3f929245.tar.bz2 rneovim-b6278bbf12dd4946095b76f47b7c2ace3f929245.zip |
API: Context: save/restore
Diffstat (limited to 'src/nvim/memory.c')
-rw-r--r-- | src/nvim/memory.c | 2 |
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. |