diff --git a/src/ex_cmds.c b/src/ex_cmds.c index b56ee268b1..08ff731606 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -4130,8 +4130,11 @@ ex_substitute(exarg_T *eap) vim_free(old_sub); old_sub = vim_strsave(sub); if (old_sub == NULL) + { // out of memory + vim_free(sub); return; + } } } } diff --git a/src/version.c b/src/version.c index 40e00fc2bf..af8e5e13ed 100644 --- a/src/version.c +++ b/src/version.c @@ -734,6 +734,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 56, /**/ 55, /**/