diff options
Diffstat (limited to 'src/userfunc.c')
-rw-r--r-- | src/userfunc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/userfunc.c b/src/userfunc.c index 6eabd8b77..bc4bc4503 100644 --- a/src/userfunc.c +++ b/src/userfunc.c @@ -5037,6 +5037,7 @@ find_func_by_name(char_u *name, compiletype_T *compile_type) } if (!ends_excmd2(name, arg)) { + vim_free(fname); emsg(ex_errmsg(e_trailing_characters_str, arg)); return NULL; } |