summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tag.c4
-rw-r--r--src/version.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/tag.c b/src/tag.c
index c1f6e65f4..c3e23f624 100644
--- a/src/tag.c
+++ b/src/tag.c
@@ -4384,7 +4384,11 @@ get_tags(list_T *list, char_u *pat, char_u *buf_fname)
}
if ((dict = dict_alloc()) == NULL)
+ {
ret = FAIL;
+ vim_free(matches[i]);
+ break;
+ }
if (list_append_dict(list, dict) == FAIL)
ret = FAIL;
diff --git a/src/version.c b/src/version.c
index e8f40e4c7..b2e28e297 100644
--- a/src/version.c
+++ b/src/version.c
@@ -708,6 +708,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 368,
+/**/
367,
/**/
366,