Skip to content

Commit

Permalink
tools/check-bolt.c: don't leak open directory.
Browse files Browse the repository at this point in the history
Thanks valgrind!

Signed-off-by: Rusty Russell <[email protected]>
  • Loading branch information
rustyrussell committed Jan 30, 2023
1 parent da3506e commit 8855067
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/check-bolt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 8855067

Please sign in to comment.