diff --git a/tools/check-bolt.c b/tools/check-bolt.c index 2149caf89..3e60510e8 100644 --- a/tools/check-bolt.c +++ b/tools/check-bolt.c @@ -79,6 +79,7 @@ static bool get_files(const char *dir, const char *subdir, e->d_name))); tal_arr_expand(files, bf); } + closedir(d); return true; }