summaryrefslogtreecommitdiff
path: root/src/commit_list.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2016-11-15 11:24:24 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2016-11-15 11:24:24 +0100
commit66cfb039ce7127f853ef7b7791e91679065edd87 (patch)
tree19634778ef8fa07bcb03075c8ebab68ce099b151 /src/commit_list.h
parentf5ea9d4a5fca10089e79cf6149364f5013304192 (diff)
downloadlibgit2-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