commit | d93090f41f70c521cfad5b25efcb0024b9480082 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Jan 27 15:07:39 2019 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Jan 27 15:07:39 2019 +0100 |
tree | e6876bcfc4eca145e03ef6c8a49fa5c69cf6faeb | |
parent | 2e0500921891e4fec57e97d3c0021aa2d2b4d7ae [diff] [blame] |
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 #3869)
diff --git a/src/mark.c b/src/mark.c index 2763917..6a7ab00 100644 --- a/src/mark.c +++ b/src/mark.c
@@ -900,7 +900,10 @@ // apply :filter /pat/ or file name not available if (name == NULL || message_filtered(name)) + { + vim_free(name); continue; + } msg_putchar('\n'); if (got_int)