diff options
-rw-r--r-- | src/term.c | 1 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/term.c b/src/term.c index 0a4e5b758a..a91d2c73ea 100644 --- a/src/term.c +++ b/src/term.c @@ -4248,6 +4248,7 @@ add_termcode(char_u *name, char_u *string, int flags) if (new_tc == NULL) { tc_max_len -= 20; + vim_free(s); return; } for (i = 0; i < tc_len; ++i) diff --git a/src/version.c b/src/version.c index d28cddd6e6..36979c89c5 100644 --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2907, +/**/ 2906, /**/ 2905, |