diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2016-11-15 11:24:24 +0100 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2016-11-15 11:24:24 +0100 |
commit | 66cfb039ce7127f853ef7b7791e91679065edd87 (patch) | |
tree | 19634778ef8fa07bcb03075c8ebab68ce099b151 /src/commit_list.h | |
parent | f5ea9d4a5fca10089e79cf6149364f5013304192 (diff) | |
download | libgit2-cmn/sortedcache-close.tar.gz |
sortedcache: close the fd on stat trouble as wellcmn/sortedcache-close
As Coverity pointed out, we fail to close the file handle if we have
trouble during the stat call. This is unlikely to result in real leaks
as stat errors should be very rare, but do make sure to close the fd.
Diffstat (limited to 'src/commit_list.h')
0 files changed, 0 insertions, 0 deletions