patch 7.4.1410
Problem: Leaking memory in cscope interface.
Solution: Free memory when no tab is found. (Christian Brabandt)
diff --git a/src/if_cscope.c b/src/if_cscope.c
index b5ca614..2f75390 100644
--- a/src/if_cscope.c
+++ b/src/if_cscope.c
@@ -2062,7 +2062,10 @@
strcpy(tbuf, matches[0]);
ptag = strtok(tbuf, "\t");
if (ptag == NULL)
+ {
+ vim_free(tbuf);
return;
+ }
newsize = (int)(strlen(cstag_msg) + strlen(ptag));
buf = (char *)alloc(newsize);
diff --git a/src/version.c b/src/version.c
index f1edf36..ce155fa 100644
--- a/src/version.c
+++ b/src/version.c
@@ -749,6 +749,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1410,
+/**/
1409,
/**/
1408,