From a28eb23f8235e31c1036a51541b25bfc31c32503 Mon Sep 17 00:00:00 2001 From: ceriel Date: Tue, 12 Jun 1990 10:07:00 +0000 Subject: [PATCH] fix from Verstoep: free() was called twice on same arg --- util/ack/trans.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/ack/trans.c b/util/ack/trans.c index e61e361f4..1f89179a9 100644 --- a/util/ack/trans.c +++ b/util/ack/trans.c @@ -608,7 +608,8 @@ addargs(string) char *string ; { l_add(curargs,keeps(in.p_path)) ; } else { scanlist( l_first(*comb_args), elem ) { - l_add(curargs,p_cont(*elem)->p_path) ; + l_add(curargs, + keeps(p_cont(*elem)->p_path)) ; } } return ; -- 2.34.1