diff options
| author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2023-02-06 20:08:10 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-02-06 16:03:52 -0800 |
| commit | 94ad545d47afe2b73dad871635b92956644815f5 (patch) | |
| tree | cde06c2101fbc25659c2778ecad15d875e0f965b /commit.c | |
| parent | builtin/revert.c: move free-ing of "revs" to replay_opts_release() (diff) | |
| download | git-94ad545d47afe2b73dad871635b92956644815f5.tar.gz git-94ad545d47afe2b73dad871635b92956644815f5.zip | |
builtin/rebase.c: fix "options.onto_name" leak
Similar to the existing "squash_onto_name" added in [1] we need to
free() the xstrdup()'d "options.onto.name" added for "--keep-base" in
[2]..
1. 9dba809a69a (builtin rebase: support --root, 2018-09-04)
2. 414d924beb4 (rebase: teach rebase --keep-base, 2019-08-27)
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions
