summaryrefslogtreecommitdiffstats
path: root/src/proto/change.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-10-01 17:02:16 +0200
committerBram Moolenaar <Bram@vim.org>2019-10-01 17:02:16 +0200
commit8617348e2110c2c8387ea448a6258f1effa8d249 (patch)
treefab9e6b710dba337eb5439160f84e2fead1103cf /src/proto/change.pro
parentb4367b7fb65f6a88f76ef99f79342341af0b1017 (diff)
patch 8.1.2107: various memory leaks reported by asanv8.1.2107
Problem: Various memory leaks reported by asan. Solution: Free the memory. (Ozaki Kiichi, closes #5003)
Diffstat (limited to 'src/proto/change.pro')
-rw-r--r--src/proto/change.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/change.pro b/src/proto/change.pro
index f6b3599eba..c31c442a50 100644
--- a/src/proto/change.pro
+++ b/src/proto/change.pro
@@ -7,6 +7,7 @@ void f_listener_flush(typval_T *argvars, typval_T *rettv);
void f_listener_remove(typval_T *argvars, typval_T *rettv);
void may_invoke_listeners(buf_T *buf, linenr_T lnum, linenr_T lnume, int added);
void invoke_listeners(buf_T *buf);
+void remove_listeners(buf_T *buf);
void changed_bytes(linenr_T lnum, colnr_T col);
void appended_lines(linenr_T lnum, long count);
void appended_lines_mark(linenr_T lnum, long count);