rebase: fix a memory leak

buf was never freed. Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Phillip Wood committed May 14, 2019 at 19:03 UTC 7372eaeb8b47ba96bad08777cd1330561ada8592
1 file changed +1
builtin/rebase.c
+1
@@ -2165,6 +2165,7 @@ run_rebase:
2165 ret = !!run_specific_rebase(&options, action);
2166
2167 cleanup:
2168 + strbuf_release(&buf);
2169 strbuf_release(&revisions);
2170 free(options.head_name);
2171 free(options.gpg_sign_opt);