Signed-off-by: Christian Couder <chriscool@xxxxxxxxxxxxx> --- sequencer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sequencer.c b/sequencer.c index 762c527..ad1bbea 100644 --- a/sequencer.c +++ b/sequencer.c @@ -741,6 +741,7 @@ static void save_head(const char *head) die_errno(_("Could not write to %s"), head_file); if (commit_lock_file(&head_lock) < 0) die(_("Error wrapping up %s."), head_file); + strbuf_release(&buf); } static int reset_for_rollback(const unsigned char *sha1) -- 1.7.10.2.555.g6528037 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html