summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index f6334e0..88e5bd8 100644
--- a/src/main.c
+++ b/src/main.c
@@ -581,6 +581,7 @@ int main(int argc, char *argv[])
file_chunk[k] = true;
data_len += _cli.data_len;
}
+ close(fd);
err:
gettimeofday(&tv_stop, NULL);
timersub(&tv_stop, &tv_start, &tv);