diff --git a/src/if_cscope.c b/src/if_cscope.c index bbb429ab91..f52316faec 100644 --- a/src/if_cscope.c +++ b/src/if_cscope.c @@ -1813,7 +1813,10 @@ cs_file_results(FILE *f, int *nummatches_a) context = alloc(strlen(cntx)+5); if (context == NULL) + { + vim_free(fullname); continue; + } if (strcmp(cntx, "")==0) strcpy(context, "<>"); diff --git a/src/version.c b/src/version.c index 804899f064..ab00e37c79 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2457, /**/ 2456, /**/