mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 13:25:43 +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
@ -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…
Reference in New Issue
Block a user