Patch 7.4.2277
Problem: Memory leak in getbufinfo() when there is a sign. (Dominique
Pelle)
Solution: Remove extra vim_strsave().
Files: src/evalfunc.c
*** ../vim-7.4.2276/src/evalfunc.c 2016-08-27 21:25:22.694047740 +0200
--- src/evalfunc.c 2016-08-28 14:05:52.685342577 +0200
***************
*** 3905,3912 ****
{
dict_add_nr_str(d, "id", sign->id, NULL);
dict_add_nr_str(d, "lnum", sign->lnum, NULL);
! dict_add_nr_str(d, "name", 0L,
! vim_strsave(sign_typenr2name(sign->typenr)));
list_append_dict(l, d);
}
--- 3905,3911 ----
{
dict_add_nr_str(d, "id", sign->id, NULL);
dict_add_nr_str(d, "lnum", sign->lnum, NULL);
! dict_add_nr_str(d, "name", 0L, sign_typenr2name(sign->typenr));
list_append_dict(l, d);
}
*** ../vim-7.4.2276/src/version.c 2016-08-28 13:38:50.003263873 +0200
--- src/version.c 2016-08-28 14:01:29.299600955 +0200
***************
*** 765,766 ****
--- 765,768 ----
{ /* Add new patch number below this line */
+ /**/
+ 2277,
/**/
--
>From "know your smileys":
:-F Bucktoothed vampire with one tooth missing
/// 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.