sequencer: stop releasing the strbuf in write_message()
commit452202c74b8af68de054d30643dd74d8fc606d62
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 21 Oct 2016 12:25:41 +0000 (21 14:25 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 21 Oct 2016 16:32:35 +0000 (21 09:32 -0700)
treec2a7cffb020518dbec5c60565f3f9a5997eaca4c
parent8f8550b3ece8742c75dc6a5296d1b82e52e09def
sequencer: stop releasing the strbuf in write_message()

Nothing in the name "write_message()" suggests that the function
releases the strbuf passed to it. So let's release the strbuf in the
caller instead.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sequencer.c