diff --git a/src/userfunc.c b/src/userfunc.c index 6eabd8b77f..bc4bc45036 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; } diff --git a/src/version.c b/src/version.c index c6e6a391f3..6cb825c59a 100644 --- a/src/version.c +++ b/src/version.c @@ -746,6 +746,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 4990, /**/ 4989, /**/