Patch 7.4.1410
Problem: Leaking memory in cscope interface.
Solution: Free memory when no tab is found. (Christian Brabandt)
Files: src/if_cscope.c
*** ../vim-7.4.1409/src/if_cscope.c 2016-02-23 20:43:58.725419739 +0100
--- src/if_cscope.c 2016-02-23 22:47:02.879951592 +0100
***************
*** 2062,2068 ****
--- 2062,2071 ----
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);
*** ../vim-7.4.1409/src/version.c 2016-02-23 22:30:25.274438259 +0100
--- src/version.c 2016-02-23 22:48:39.822932522 +0100
***************
*** 750,751 ****
--- 750,753 ----
{ /* Add new patch number below this line */
+ /**/
+ 1410,
/**/
--
TALL KNIGHT: Firstly. You must get us another shrubbery!
OTHER KNIGHTS: More shrubberies! More shrubberies for the ex-Knights of Ni!
ARTHUR: Not another shrubbery -
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.