diff options
author | tiptorrent development team <tiptorrent@soleta.eu> | 2021-12-23 21:02:38 +0100 |
---|---|---|
committer | tiptorrent development team <tiptorrent@soleta.eu> | 2021-12-23 21:03:02 +0100 |
commit | e9de4e482f225b2987ab0368cea2fae835b4967e (patch) | |
tree | 23f5bf98f4fd6ffe18a4aec99ab3e0c3124470b5 /src/main.c | |
parent | 35f3191e4c5b3c7d0df425c7c8b82fea4df66b74 (diff) |
missing close() on file on exit path
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |