From 7372eaeb8b47ba96bad08777cd1330561ada8592 Mon Sep 17 00:00:00 2001 From: Phillip Wood Date: Tue, 14 May 2019 19:03:46 +0100 Subject: [PATCH] rebase: fix a memory leak buf was never freed. Signed-off-by: Phillip Wood Signed-off-by: Junio C Hamano --- builtin/rebase.c | 1 + 1 file changed, 1 insertion(+) diff --git a/builtin/rebase.c b/builtin/rebase.c index cd233c6118..a9062c672b 100644 --- a/builtin/rebase.c +++ b/builtin/rebase.c @@ -2165,6 +2165,7 @@ run_rebase: ret = !!run_specific_rebase(&options, action); cleanup: + strbuf_release(&buf); strbuf_release(&revisions); free(options.head_name); free(options.gpg_sign_opt); -- 2.43.2