diff options
author | Rene Scharfe <l.s.r@web.de> | 2017-08-30 19:49:48 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-09-07 08:49:27 +0900 |
commit | 400cd6bf22cbd3f0d8e555aa2f1e4751869960bf (patch) | |
tree | a5a3445b7e6871af47bc7bc70a4469f68b1f3287 /mailinfo.c | |
parent | 11fa5e2a81cc921b55a4a91f2e5f39d423f18467 (diff) | |
download | git-400cd6bf22cbd3f0d8e555aa2f1e4751869960bf.tar.gz |
mailinfo: release strbuf on error return in handle_boundary()
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'mailinfo.c')
-rw-r--r-- | mailinfo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mailinfo.c b/mailinfo.c index b1f5159546..f2387a3267 100644 --- a/mailinfo.c +++ b/mailinfo.c @@ -928,6 +928,7 @@ again: error("Detected mismatched boundaries, can't recover"); mi->input_error = -1; mi->content_top = mi->content; + strbuf_release(&newline); return 0; } handle_filter(mi, &newline); |