summaryrefslogtreecommitdiff
path: root/pathexp.c
diff options
context:
space:
mode:
Diffstat (limited to 'pathexp.c')
-rw-r--r--pathexp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pathexp.c b/pathexp.c
index 64045149..138f9d6a 100644
--- a/pathexp.c
+++ b/pathexp.c
@@ -285,6 +285,7 @@ ignore_globbed_names (names, name_func)
for (n = 0; newnames[n]; n++)
names[n] = newnames[n];
names[n] = (char *)NULL;
+ free (newnames);
}
void