summaryrefslogtreecommitdiffstats
path: root/src/bftw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bftw.c')
-rw-r--r--src/bftw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bftw.c b/src/bftw.c
index 61193d5..c99fb8d 100644
--- a/src/bftw.c
+++ b/src/bftw.c
@@ -796,7 +796,7 @@ static void bftw_file_free(struct bftw_cache *cache, struct bftw_file *file) {
bftw_stat_recycle(cache, file);
- varena_free(&cache->files, file, file->namelen + 1);
+ varena_free(&cache->files, file);
}
/**