diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-03-05 10:08:22 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-03-05 10:08:22 +0900 |
commit | dfd19f19c019e044f97e46081a6960614c0cf3f9 (patch) | |
tree | 51235119408ad6039f4a12286aba64e25176254b /src/warc.c | |
parent | be7885cb38b145fc4361200b3351fc2c79e35f3c (diff) | |
download | wget-dfd19f19c019e044f97e46081a6960614c0cf3f9.tar.gz wget-dfd19f19c019e044f97e46081a6960614c0cf3f9.tar.bz2 wget-dfd19f19c019e044f97e46081a6960614c0cf3f9.zip |
Imported Upstream version 1.19.5upstream/1.19.5
Diffstat (limited to 'src/warc.c')
-rw-r--r-- | src/warc.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1240,9 +1240,15 @@ warc_close (void) warc_write_metadata (); *warc_current_warcinfo_uuid_str = 0; fclose (warc_current_file); + warc_current_file = NULL; } + if (warc_current_cdx_file != NULL) - fclose (warc_current_cdx_file); + { + fclose (warc_current_cdx_file); + warc_current_cdx_file = NULL; + } + if (warc_log_fp != NULL) { fclose (warc_log_fp); |