]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Issue 578: Close temp_fd in 7zip and xar writers 607/head
authorPaul Barker <paul@paulbarker.me.uk>
Sat, 26 Sep 2015 18:38:13 +0000 (19:38 +0100)
committerPaul Barker <paul@paulbarker.me.uk>
Sat, 26 Sep 2015 18:41:10 +0000 (19:41 +0100)
commitc513448e9181e457170d2a1fc367a6e891844e1b
tree08a18dcbb10d1f97556621f46bd984f6948cc531
parentb9d0b46eb05b0f1e6c832512c2c6b5d782db58d1
Issue 578: Close temp_fd in 7zip and xar writers

The ISO9660 writer uses a temp_fd and closes it in the archive_free handler. The
same logic is added to the archive_free handlers for the 7zip and xar writers.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
libarchive/archive_write_set_format_7zip.c
libarchive/archive_write_set_format_xar.c