# HG changeset patch # User Bram Moolenaar # Date 1548598506 -3600 # Node ID dd4e6f077874f1b70bc6ce4fc7f42e243e526997 # Parent 4f1f2afe5075c8730cf71a4c0c2f9f4da45f8f95 patch 8.1.0833: memory leak when jumps output is filtered commit https://github.com/vim/vim/commit/d93090f41f70c521cfad5b25efcb0024b9480082 Author: Bram Moolenaar Date: Sun Jan 27 15:07:39 2019 +0100 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 https://github.com/vim/vim/issues/3869) diff --git a/src/mark.c b/src/mark.c --- a/src/mark.c +++ b/src/mark.c @@ -900,7 +900,10 @@ ex_jumps(exarg_T *eap UNUSED) // apply :filter /pat/ or file name not available if (name == NULL || message_filtered(name)) + { + vim_free(name); continue; + } msg_putchar('\n'); if (got_int) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -784,6 +784,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 833, +/**/ 832, /**/ 831,