diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-07-02 02:00:59 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-07-15 23:07:29 -0400 |
commit | df6354c223382422fa52cfaebdb36689025ae98f (patch) | |
tree | 61b063618114d201fabe2a51b9996dbc17c86c63 | |
parent | d27175aa2879bbc84bb5bb57edf809b7f1da8c7e (diff) | |
download | rneovim-df6354c223382422fa52cfaebdb36689025ae98f.tar.gz rneovim-df6354c223382422fa52cfaebdb36689025ae98f.tar.bz2 rneovim-df6354c223382422fa52cfaebdb36689025ae98f.zip |
vim-patch:8.1.0833: memory leak when jumps output is filtered
Problem: Memory leak when jumps output is filtered.
Solution: Free the filtered name. (Dominique Pelle, closes vim/vim#3869)
https://github.com/vim/vim/commit/d93090f41f70c521cfad5b25efcb0024b9480082
-rw-r--r-- | src/nvim/mark.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/mark.c b/src/nvim/mark.c index 598fd79c0e..3736004527 100644 --- a/src/nvim/mark.c +++ b/src/nvim/mark.c @@ -792,6 +792,7 @@ void ex_jumps(exarg_T *eap) // apply :filter /pat/ or file name not available if (name == NULL || message_filtered(name)) { + xfree(name); continue; } |