mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-18 22:54:25 +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:
@@ -79,6 +79,7 @@ static bool get_files(const char *dir, const char *subdir,
|
|||||||
e->d_name)));
|
e->d_name)));
|
||||||
tal_arr_expand(files, bf);
|
tal_arr_expand(files, bf);
|
||||||
}
|
}
|
||||||
|
closedir(d);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user