diff options
author | Jeff King <peff@peff.net> | 2015-09-24 17:03:05 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-09-25 10:18:18 -0700 |
commit | d270d7b7a2d631c3d11315f20bb0cf15e438dafa (patch) | |
tree | bb43a5ee55f2bfa2890a0b6758ca9bedf5bf8207 /shallow.c | |
parent | show-branch: avoid segfault with --reflog of unborn branch (diff) | |
download | tgif-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 'shallow.c')
0 files changed, 0 insertions, 0 deletions