Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
S3: cleanup if key.get_contents_to_filename fails
if key.get_contents_to_filename fails, it leaves an empty file and open file descriptor behind. Instead, remove the file (since we created it, or at least truncated it to 0 length) and close the file descriptor.
- Loading branch information