Merge branch 'rs/misc-cppcheck-fixes'
authorJunio C Hamano <gitster@pobox.com>
Mon, 24 Apr 2017 05:07:56 +0000 (22:07 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Apr 2017 05:07:56 +0000 (22:07 -0700)
Various small fixes.

* rs/misc-cppcheck-fixes:
server-info: avoid calling fclose(3) twice in update_info_file()
files_for_each_reflog_ent_reverse(): close stream and free strbuf on error
am: close stream on error, but not stdin

1  2 
builtin/am.c
refs/files-backend.c
diff --cc builtin/am.c
Simple merge
Simple merge