summaryrefslogtreecommitdiff
path: root/listing.c
diff options
context:
space:
mode:
Diffstat (limited to 'listing.c')
-rw-r--r--listing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/listing.c b/listing.c
index 795389b..f8b1186 100644
--- a/listing.c
+++ b/listing.c
@@ -318,13 +318,13 @@ AddDirectory(char *head, char *ptrn, char *rest, char *map)
(head ? head : ""), (head ? "/" : ""), filename);
if (stat(tmp, &sbuf) < 0)
{
- uFree(tmp);
+ free(tmp);
continue;
}
if (((rest != NULL) && (!S_ISDIR(sbuf.st_mode))) ||
((map != NULL) && (S_ISDIR(sbuf.st_mode))))
{
- uFree(tmp);
+ free(tmp);
continue;
}
if (S_ISDIR(sbuf.st_mode))