aboutsummaryrefslogtreecommitdiffstats
path: root/commit-graph.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2022-09-01 01:14:16 +0200
committerJunio C Hamano <gitster@pobox.com>2022-09-02 09:18:13 -0700
commit17af0a8444523f4df98e21165a3e476f05749237 (patch)
tree2fab4926029fae8f27974f7867994fc83e4cad8e /commit-graph.c
parentsubmodule--helper: fix "sm_path" and other "module_cb_list" leaks (diff)
downloadgit-17af0a8444523f4df98e21165a3e476f05749237.tar.gz
git-17af0a8444523f4df98e21165a3e476f05749237.zip
submodule--helper: fix a leak with repo_clear()
Call repo_clear() in ensure_core_worktree() to free the "struct repository". Fixes a leak that's been here since 74d4731da1f (submodule--helper: replace connect-gitdir-workingtree by ensure-core-worktree, 2018-08-13). Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Reviewed-by: Glen Choo <chooglen@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions