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 /t/unit-tests/t-basic.c | |
parent | a6a700a43c6f73f5abef95f97355ff8ce0523e0e (diff) |
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 't/unit-tests/t-basic.c')
0 files changed, 0 insertions, 0 deletions