aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--noice.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/noice.c b/noice.c
index d1b2c91..b032135 100644
--- a/noice.c
+++ b/noice.c
@@ -485,6 +485,7 @@ dentfill(char *path, struct entry **dents,
r = lstat(newpath, &sb);
if (r == -1)
printerr(1, "lstat");
+ free(newpath);
(*dents)[n].mode = sb.st_mode;
(*dents)[n].t = sb.st_mtime;
n++;