From a4f796496ffcce9cd5f71d9397b734760d364ede Mon Sep 17 00:00:00 2001 From: jozan Date: Sun, 8 Nov 2020 03:54:31 +0000 Subject: It's starting to work FossilOrigin-Name: 255b54ae5462cf8171803d7bccc96739b6a93a2313762ef99c37e47847677bd0 --- src/c_lfiles.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/c_lfiles.c') 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); -- cgit v1.2.3