Commit 5c01cf8e authored by Matthieu Dorier's avatar Matthieu Dorier

closing file descriptor after computing size

parent 9ecd4e05
......@@ -272,6 +272,7 @@ static void add_file_size(const char* filename, void* uargs) {
args->ret = -1;
return;
}
close(fd);
args->size += st.st_size;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment