diff --git a/fstree.c b/fstree.c index ba0da9d..f377453 100644 --- a/fstree.c +++ b/fstree.c @@ -75,6 +75,7 @@ static struct node *read_fstree(const char *dirname) free(tmpnam); } + closedir(d); return tree; }