A collection of fixes for various resource leaks, invalid file
descriptor closures, and process handle ownership issues flagged by
Coverity.
* js/coverity-fixes:
mingw: make exit_process() own the process handle on all paths
fsmonitor: plug token-data leak on early daemon-startup failures
reftable/table: release filter on error path
imap-send: avoid leaking the IMAP upload buffer
worktree: fix resource leaks when branch creation fails
submodule: fix cwd leak in get_superproject_working_tree()
dir: free allocations on parse-error paths in read_one_dir()
line-log: avoid redundant copy that leaks in process_ranges
run_diff_files: avoid memory leak
run-command: avoid close(-1) in start_command() error paths
download_https_uri_to_file(): do not leak fd upon failure
loose: avoid closing invalid fd on error path
load_one_loose_object_map(): fix resource leak