summaryrefslogtreecommitdiff
path: root/src/mark.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mark.c')
-rw-r--r--src/mark.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mark.c b/src/mark.c
index 276391743..6a7ab00d8 100644
--- 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)