Merge branch 'rs/misc-cppcheck-fixes' into next
authorJunio C Hamano <gitster@pobox.com>
Thu, 20 Apr 2017 05:10:14 +0000 (22:10 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 20 Apr 2017 05:10:15 +0000 (22:10 -0700)
commite8fca7f5931ff524d35dae2f8a103641bd2251a0
treee5a377d4e610cff16ace486396eaf3a382661f4f
parent4a18ea99716c8b4717bbf102f46c6c9a69005a40
parentfa1912c89a72fbd94591f4f5d522e5867ffe9bb6
Merge branch 'rs/misc-cppcheck-fixes' into next

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
builtin/am.c
refs/files-backend.c