Introduction
Introduction Statistics Contact Development Disclaimer Help
Fix memory leak - noice - small file browser (mirror / fork from 2f30.org)
git clone git://git.codemadness.org/noice
Log
Files
Refs
README
LICENSE
---
commit 6d4166f0d6b67bbaecb57cdf821d28f4356ae67f
parent 5fb5e9f82f89a2a9257bd375dfb8d065c5afa7bb
Author: sin <[email protected]>
Date: Wed, 6 Jan 2016 15:59:27 +0000
Fix memory leak
Diffstat:
M noice.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++;
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.