git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
11fa5e2
)
mailinfo: release strbuf on error return in handle_boundary()
author
Rene Scharfe
<redacted>
Wed, 30 Aug 2017 17:49:48 +0000
(19:49 +0200)
committer
Junio C Hamano
<redacted>
Wed, 6 Sep 2017 23:49:27 +0000
(08:49 +0900)
Signed-off-by: Rene Scharfe <redacted>
Signed-off-by: Junio C Hamano <redacted>
mailinfo.c
patch
|
blob
|
history
diff --git
a/mailinfo.c
b/mailinfo.c
index b1f515954608634551289f9a7142c46385187027..f2387a32675591d6da83473ef6235ba823721d1c 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);
git clone https://git.99rst.org/PROJECT