diff src/eval.c @ 3982:4934eb2e22dc v7.3.746

updated for version 7.3.746 Problem: Memory leaks when using location lists. Solution: Set qf_title to something. (Christian Brabandt)
author Bram Moolenaar <bram@vim.org>
date Wed, 05 Dec 2012 15:16:47 +0100
parents fb7dec372910
children 56bb88c68f98
line wrap: on
line diff
--- a/src/eval.c
+++ b/src/eval.c
@@ -16292,7 +16292,8 @@ set_qf_ll_list(wp, list_arg, action_arg,
 		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