• Show log

    Commit

  • Hash : 38b6e700
    Author : Patrick Steinhardt
    Date : 2017-04-12T08:09:08

    fileops: fix leaking fd in `mmap_ro_file` When the `git_futils_mmap_ro_file` function encounters an error after the file has been opened, it will do a simple returns. Instead, we should close the opened file descriptor to avoid a leak. This commit fixes the issue.