summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorLibravatar Rene Scharfe <l.s.r@web.de>2017-08-30 20:00:29 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-09-07 08:49:28 +0900
commitea8e029785f87dc167491ebbc7ea3e924a72b5c4 (patch)
tree3e66a35a1cc382e94078c6c3e8a04197dbb6bc7f /templates
parentsend-pack: release strbuf on error return in send_pack() (diff)
downloadtgif-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 'templates')
0 files changed, 0 insertions, 0 deletions