diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2017-05-04 15:55:45 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-08 12:18:19 +0900 |
commit | 5b34ba414d105a8219e55babd0780a935a0c0c20 (patch) | |
tree | c79fef57bcaef2e07ea1a37a1f3fa2266d85d196 /gettext.c | |
parent | git_config_rename_section_in_file(): avoid resource leak (diff) | |
download | tgif-5b34ba414d105a8219e55babd0780a935a0c0c20.tar.xz |
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 'gettext.c')
0 files changed, 0 insertions, 0 deletions