support: Close fds in copy_func
copy_func may leave file descriptors open on error, so close them on function exit.
Loading
Please register or sign in to comment
copy_func may leave file descriptors open on error, so close them on function exit.