diff --git a/src/syntax.c b/src/syntax.c index 154b759545..2141beeaf6 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -5222,7 +5222,7 @@ syn_cmd_region( for (item = ITEM_START; item <= ITEM_END; ++item) for (ppp = pat_ptrs[item]; ppp != NULL; ppp = ppp_next) { - if (!success) + if (!success && ppp->pp_synp != NULL) { vim_regfree(ppp->pp_synp->sp_prog); vim_free(ppp->pp_synp->sp_pattern); diff --git a/src/version.c b/src/version.c index c406005081..156f075139 100644 --- a/src/version.c +++ b/src/version.c @@ -761,6 +761,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1950, /**/ 1949, /**/