From 44ac2cdb4dc8481cff33101f95f94761c5aa74bc Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sat, 26 Sep 2009 23:01:55 +0000 Subject: Fix some memory leaks, found with valgrind. --- function.c | 1 + 1 file changed, 1 insertion(+) (limited to 'function.c') diff --git a/function.c b/function.c index a2adc31..d3acd8b 100644 --- a/function.c +++ b/function.c @@ -382,6 +382,7 @@ string_glob (char *line) idx += len; result[idx++] = ' '; + free (chain->name); free (chain); chain = next; } -- cgit v1.2.3