From: Bram Moolenaar Date: Tue, 24 Oct 2006 11:49:25 +0000 (+0000) Subject: updated for version 7.0-148 X-Git-Tag: v7.0.148 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a2a31754a42c4f30c190cd1de0bf3e05242bec62;p=vim updated for version 7.0-148 --- diff --git a/src/eval.c b/src/eval.c index c77713656..7c8babab9 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 8538afe1e..3c67bb323 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, /**/