aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_lfiles.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_lfiles.c')
-rw-r--r--src/c_lfiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c_lfiles.c b/src/c_lfiles.c
index 98a69e2..b420373 100644
--- a/src/c_lfiles.c
+++ b/src/c_lfiles.c
@@ -140,7 +140,7 @@ c_lfiles_gather(void)
link = c_lfiles_new(dp->d_name, dp->d_type);
if (link == NULL) {
u_dump_errno();
- c_lfiles_clear(&link);
+ c_lfiles_clear(&head);
return (NULL);
}
c_lfiles_add_back(&head, link);