mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-20 13:54:36 +01:00
tools/check-bolt.c: don't leak open directory.
Thanks valgrind! Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
da3506e6a0
commit
885506765e
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue