From f87715a62c2e6a5660c2a176fffc0d7333bcfd8c Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sat, 3 Oct 2009 20:08:20 +0000 Subject: - Include even on non-__GNUC__ systems. - Add some tests for unresolved bugs. --- function.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'function.c') diff --git a/function.c b/function.c index d3acd8b..ad3e0d2 100644 --- a/function.c +++ b/function.c @@ -382,7 +382,8 @@ string_glob (char *line) idx += len; result[idx++] = ' '; - free (chain->name); + /* Because we used PARSEFS_NOCACHE above, we have to free() NAME. */ + free ((char *)chain->name); free (chain); chain = next; } -- cgit v1.2.3