Fix memory leak - noice - small file browser (mirror / fork from 2f30.org)
 (HTM) git clone git://git.codemadness.org/noice
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 6d4166f0d6b67bbaecb57cdf821d28f4356ae67f
 (DIR) parent 5fb5e9f82f89a2a9257bd375dfb8d065c5afa7bb
 (HTM) Author: sin <sin@2f30.org>
       Date:   Wed,  6 Jan 2016 15:59:27 +0000
       
       Fix memory leak
       
       Diffstat:
         M noice.c                             |       1 +
       
       1 file changed, 1 insertion(+), 0 deletions(-)
       ---
 (DIR) 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++;