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>
Ævar Arnfjörð Bjarmason committed
Feb 6, 2023 at 20:08 UTC
a5350408871c69357cbe805fcfa3cc087cca0908
1 file changed
+1
builtin/rebase.c
+1
@@ -1850,6 +1850,7 @@ cleanup:
1850
free(options.gpg_sign_opt);
1851
string_list_clear(&options.exec, 0);
1852
free(options.strategy);
1853
+ free(options.strategy_opts);
1854
strbuf_release(&options.git_format_patch_opt);
1855
free(squash_onto_name);
1856
free(keep_base_onto_name);