summaryrefslogtreecommitdiff
path: root/mailmap.h
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2017-05-04 13:55:45 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-05-08 03:18:19 (GMT)
commit5b34ba414d105a8219e55babd0780a935a0c0c20 (patch)
treec79fef57bcaef2e07ea1a37a1f3fa2266d85d196 /mailmap.h
parent4db7dbdb4ae5426ab133b3844ea2a6889c6897d7 (diff)
downloadgit-5b34ba414d105a8219e55babd0780a935a0c0c20.zip
git-5b34ba414d105a8219e55babd0780a935a0c0c20.tar.gz
git-5b34ba414d105a8219e55babd0780a935a0c0c20.tar.bz2
get_mail_commit_oid(): avoid resource leak
When we fail to read, or parse, the file, we still want to close the file descriptor and release the strbuf. Reported via Coverity. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'mailmap.h')
0 files changed, 0 insertions, 0 deletions