We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40bbcee commit 0107f5bCopy full SHA for 0107f5b
src/eval.c
@@ -23095,7 +23095,11 @@ ex_function(eap)
23095
23096
/* insert the new function in the function list */
23097
STRCPY(fp->uf_name, name);
23098
- hash_add(&func_hashtab, UF2HIKEY(fp));
+ if (hash_add(&func_hashtab, UF2HIKEY(fp)) == FAIL)
23099
+ {
23100
+ vim_free(fp);
23101
+ goto erret;
23102
+ }
23103
}
23104
fp->uf_args = newargs;
23105
fp->uf_lines = newlines;
src/version.c
@@ -741,6 +741,8 @@ static char *(features[]) =
741
742
static int included_patches[] =
743
{ /* Add new patch number below this line */
744
+/**/
745
+ 989,
746
/**/
747
988,
748
0 commit comments