diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2022-03-04 19:32:11 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-03-04 13:24:18 -0800 |
commit | 8f79015111f879451ceff83bbb9b4a29ebbbeb1d (patch) | |
tree | 7d5bd9fe8bd95d25ecff9d1f20c2a4b95682650a /t/t9603 | |
parent | transport: stop needlessly copying bundle header references (diff) | |
download | tgif-8f79015111f879451ceff83bbb9b4a29ebbbeb1d.tar.xz |
submodule--helper: fix trivial leak in module_add()
Fix a memory leak in code added in a6226fd772b (submodule--helper:
convert the bulk of cmd_add() to C, 2021-08-10). If "realrepo" isn't a
copy of the "repo" member we should free() it.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9603')
0 files changed, 0 insertions, 0 deletions