summaryrefslogtreecommitdiff
path: root/test-index-version.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2015-09-24 17:03:05 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-09-25 10:18:18 -0700
commitd270d7b7a2d631c3d11315f20bb0cf15e438dafa (patch)
treebb43a5ee55f2bfa2890a0b6758ca9bedf5bf8207 /test-index-version.c
parentshow-branch: avoid segfault with --reflog of unborn branch (diff)
downloadtgif-d270d7b7a2d631c3d11315f20bb0cf15e438dafa.tar.xz
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 'test-index-version.c')
0 files changed, 0 insertions, 0 deletions