summaryrefslogtreecommitdiff
path: root/builtin/am.c
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2017-05-04 13:55:41 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-05-08 03:18:19 (GMT)
commit4db7dbdb4ae5426ab133b3844ea2a6889c6897d7 (patch)
treecbe97e36732a0e6bfb874b2cd0027ee2ba87f0fe /builtin/am.c
parent5748693b9123f55363211d18e8074db5e1b8384e (diff)
downloadgit-4db7dbdb4ae5426ab133b3844ea2a6889c6897d7.zip
git-4db7dbdb4ae5426ab133b3844ea2a6889c6897d7.tar.gz
git-4db7dbdb4ae5426ab133b3844ea2a6889c6897d7.tar.bz2
git_config_rename_section_in_file(): avoid resource leak
In case of errors, we really want the file descriptor to be closed. Discovered by a Coverity scan. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/am.c')
0 files changed, 0 insertions, 0 deletions