diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2023-02-06 22:08:12 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-02-07 03:03:53 +0300 |
commit | a5350408871c69357cbe805fcfa3cc087cca0908 (patch) | |
tree | d0f432d8ea1644d2d7d36fc550be1290db956690 /builtin | |
parent | a5792e9d0929f30ece6b8cb679cc58fc700f7d09 (diff) |
builtin/rebase.c: free() "options.strategy_opts"
When the "strategy_opts" member was added in ba1905a5fef (builtin
rebase: add support for custom merge strategies, 2018-09-04) the
corresponding free() for it at the end of cmd_rebase() wasn't added,
let's do so.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/rebase.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/rebase.c b/builtin/rebase.c index 41e96f0eb5..6635f10d52 100644 --- a/builtin/rebase.c +++ b/builtin/rebase.c @@ -1850,6 +1850,7 @@ cleanup: free(options.gpg_sign_opt); string_list_clear(&options.exec, 0); free(options.strategy); + free(options.strategy_opts); strbuf_release(&options.git_format_patch_opt); free(squash_onto_name); free(keep_base_onto_name); |