mirror of
https://github.com/neovim/neovim.git
synced 2026-04-26 09:14:15 +00:00
vim-patch:7.4.2277
Problem: Memory leak in getbufinfo() when there is a sign. (Dominique
Pelle)
Solution: Remove extra vim_strsave().
6a402edbeb
This commit is contained in:
@@ -9857,7 +9857,7 @@ static void get_buffer_signs(buf_T *buf, list_T *l)
|
||||
|
||||
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)));
|
||||
dict_add_nr_str(d, "name", 0L, sign_typenr2name(sign->typenr));
|
||||
|
||||
list_append_dict(l, d);
|
||||
}
|
||||
|
||||
@@ -163,7 +163,7 @@ static int included_patches[] = {
|
||||
// 2280,
|
||||
// 2279,
|
||||
// 2278 NA
|
||||
// 2277,
|
||||
2277,
|
||||
// 2276,
|
||||
// 2275,
|
||||
2274,
|
||||
|
||||
Reference in New Issue
Block a user