aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https/socket.go
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2015-09-24 17:03:05 -0400
committerJunio C Hamano <gitster@pobox.com>2015-09-25 10:18:18 -0700
commitd270d7b7a2d631c3d11315f20bb0cf15e438dafa (patch)
treebb43a5ee55f2bfa2890a0b6758ca9bedf5bf8207 /contrib/persistent-https/socket.go
parentshow-branch: avoid segfault with --reflog of unborn branch (diff)
downloadgit-d270d7b7a2d631c3d11315f20bb0cf15e438dafa.tar.gz
git-d270d7b7a2d631c3d11315f20bb0cf15e438dafa.zip
mailsplit: fix FILE* leak in split_maildir
If we encounter an error while splitting a maildir, we exit the function early, leaking the open filehandle. This isn't a big deal, since we exit the program soon after, but it's easy enough to be careful. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https/socket.go')
0 files changed, 0 insertions, 0 deletions