noice

small file browser
git clone git://git.2f30.org/noice
Log | Files | Refs | README | LICENSE

commit 6d4166f0d6b67bbaecb57cdf821d28f4356ae67f
parent 5fb5e9f82f89a2a9257bd375dfb8d065c5afa7bb
Author: sin <sin@2f30.org>
Date:   Wed,  6 Jan 2016 15:59:27 +0000

Fix memory leak

Diffstat:
Mnoice.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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++;