diff --git a/src/cmdexpand.c b/src/cmdexpand.c index 4916465e8a..63757179a5 100644 --- a/src/cmdexpand.c +++ b/src/cmdexpand.c @@ -4219,6 +4219,11 @@ globpath( ++ga->ga_len; } } + else + { + FreeWild(num_p, p); + p = NULL; + } vim_free(p); } } diff --git a/src/version.c b/src/version.c index 9edef9b900..b38010c071 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 */ +/**/ + 246, /**/ 245, /**/