OSDN Git Service
(root)
/
git-core
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11fa5e2
)
mailinfo: release strbuf on error return in handle_boundary()
author
Rene Scharfe
<l.s.r@web.de>
Wed, 30 Aug 2017 17:49:48 +0000
(19:49 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 6 Sep 2017 23:49:27 +0000
(08:49 +0900)
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
mailinfo.c
patch
|
blob
|
history
diff --git
a/mailinfo.c
b/mailinfo.c
index
b1f5159
..
f2387a3
100644
(file)
--- 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);