diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2015-06-10 11:08:05 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-06-10 11:08:05 +0200 |
commit | 0137aba56863634d81e407152df723d5ad4a97ce (patch) | |
tree | 4e6e1afce58a9389db10f7f7d6955db670b5b72d /src/cherrypick.c | |
parent | 969d4b703c910a8fd045baafbcd243b4c9825316 (diff) | |
download | libgit2-cmn/coverity.tar.gz |
filter: close the descriptor in case of errorcmn/coverity
When we hit an error writing to the next stream from a file, we jump to
'done' which currently skips over closing the file descriptor.
Make sure to close the descriptor if it has been set to a valid value.
Diffstat (limited to 'src/cherrypick.c')
0 files changed, 0 insertions, 0 deletions