diff --git a/src/search.c b/src/search.c index 95a27f867..e3265c25c 100644 --- a/src/search.c +++ b/src/search.c @@ -1416,6 +1416,7 @@ do_search( // Reserve enough space for the search pattern + offset. len = STRLEN(p) + off_len + 3; + vim_free(msgbuf); msgbuf = alloc(len); if (msgbuf != NULL) { diff --git a/src/version.c b/src/version.c index ae324b361..945896d2f 100644 --- a/src/version.c +++ b/src/version.c @@ -738,6 +738,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 544, /**/ 543, /**/