diff --git a/src/eval.c b/src/eval.c index c777136568..7c8babab9f 100644 --- a/src/eval.c +++ b/src/eval.c @@ -3125,7 +3125,12 @@ ex_call(eap) funcdict_T fudi; tofree = trans_function_name(&arg, eap->skip, TFN_INT, &fudi); - vim_free(fudi.fd_newkey); + if (fudi.fd_newkey != NULL) + { + /* Still need to give an error message for missing key. */ + EMSG2(_(e_dictkey), fudi.fd_newkey); + vim_free(fudi.fd_newkey); + } if (tofree == NULL) return; diff --git a/src/version.c b/src/version.c index 8538afe1e4..3c67bb323e 100644 --- a/src/version.c +++ b/src/version.c @@ -666,6 +666,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 148, /**/ 147, /**/