Skip to content

Commit a535040

Browse files
avargitster
authored andcommitted
builtin/rebase.c: free() "options.strategy_opts"
When the "strategy_opts" member was added in ba1905a (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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent a5792e9 commit a535040

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

builtin/rebase.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1850,6 +1850,7 @@ int cmd_rebase(int argc, const char **argv, const char *prefix)
18501850
free(options.gpg_sign_opt);
18511851
string_list_clear(&options.exec, 0);
18521852
free(options.strategy);
1853+
free(options.strategy_opts);
18531854
strbuf_release(&options.git_format_patch_opt);
18541855
free(squash_onto_name);
18551856
free(keep_base_onto_name);

0 commit comments

Comments
 (0)