0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

updated for version 7.3.746

Problem:    Memory leaks when using location lists.
Solution:   Set qf_title to something. (Christian Brabandt)
This commit is contained in:
Bram Moolenaar
2012-12-05 15:16:47 +01:00
parent 15d55dec03
commit 81484f4215
3 changed files with 12 additions and 2 deletions

View File

@@ -16292,7 +16292,8 @@ set_qf_ll_list(wp, list_arg, action_arg, rettv)
action = *act;
}
if (l != NULL && set_errorlist(wp, l, action, NULL) == OK)
if (l != NULL && set_errorlist(wp, l, action,
(char_u *)(wp == NULL ? "setqflist()" : "setloclist()")) == OK)
rettv->vval.v_number = 0;
}
#endif