Subject: [PATCH] merge: release strbuf after use in suggest_conflicts()

From: René Scharfe <[email-masked]>
Date: Wed, 24 Dec 2014 01:18:38 +0100

Signed-off-by: Rene Scharfe <[email-masked]>
---
 builtin/merge.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/builtin/merge.c b/builtin/merge.c
index 215d485..d722889 100644
--- a/builtin/merge.c
+++ b/builtin/merge.c
@@ -894,6 +894,7 @@ static int suggest_conflicts(void)
 
 	append_conflicts_hint(&msgbuf);
 	fputs(msgbuf.buf, fp);
+	strbuf_release(&msgbuf);
 	fclose(fp);
 	rerere(allow_rerere_auto);
 	printf(_("Automatic merge failed; "
-- 
2.2.1