diff options
author | Rene Scharfe <l.s.r@web.de> | 2017-08-30 20:00:29 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-09-07 08:49:28 +0900 |
commit | ea8e029785f87dc167491ebbc7ea3e924a72b5c4 (patch) | |
tree | 3e66a35a1cc382e94078c6c3e8a04197dbb6bc7f /iterator.h | |
parent | send-pack: release strbuf on error return in send_pack() (diff) | |
download | tgif-ea8e029785f87dc167491ebbc7ea3e924a72b5c4.tar.xz |
sha1_file: release strbuf on error return in index_path()
strbuf_readlink() already frees the buffer for us on error. Clean up
if write_sha1_file() fails as well instead of returning early.
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'iterator.h')
0 files changed, 0 insertions, 0 deletions