aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/memory.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-01-15 23:35:20 +0100
committerGitHub <noreply@github.com>2018-01-15 23:35:20 +0100
commitde0a9548f7bf55bdf0202a2dcebb86a92f2d989d (patch)
tree47848ab49a0188ddce9d305a187ff638ccb2965b /src/nvim/memory.c
parent726197d8907891eda99299a2920b0d1d98148a3c (diff)
parenta8cb510a2ed2f53f60ba4b2e722f4bc64954c606 (diff)
downloadrneovim-de0a9548f7bf55bdf0202a2dcebb86a92f2d989d.tar.gz
rneovim-de0a9548f7bf55bdf0202a2dcebb86a92f2d989d.tar.bz2
rneovim-de0a9548f7bf55bdf0202a2dcebb86a92f2d989d.zip
Merge #7806 from ZyX-I/list-stat
Add a way to collect list usage statistics
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 328b96fd5c..a66ab6a3cc 100644
--- a/src/nvim/memory.c
+++ b/src/nvim/memory.c
@@ -559,6 +559,7 @@ void time_to_bytes(time_t time_, uint8_t buf[8])
#include "nvim/tag.h"
#include "nvim/window.h"
#include "nvim/os/os.h"
+#include "nvim/eval/typval.h"
/*
* Free everything that we allocated.
@@ -692,6 +693,7 @@ void free_all_mem(void)
free_screenlines();
clear_hl_tables();
+ list_free_log();
}
#endif