commit | 81484f421553639a719db996bb83e52ea43792c9 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Dec 05 15:16:47 2012 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Dec 05 15:16:47 2012 +0100 |
tree | af24a5fcf53a8689eee72381c4b46a7d9e3286c7 | |
parent | 15d55dec03eca3ae87d245f23fad086a501d7f07 [diff] [blame] |
updated for version 7.3.746 Problem: Memory leaks when using location lists. Solution: Set qf_title to something. (Christian Brabandt)
diff --git a/src/eval.c b/src/eval.c index aab9b0b..76b4159 100644 --- a/src/eval.c +++ b/src/eval.c
@@ -16292,7 +16292,8 @@ 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