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:
@@ -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
|
||||
|
Reference in New Issue
Block a user