summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-05-27 13:46:59 +0200
committerJunio C Hamano <gitster@pobox.com>2024-05-27 11:20:01 -0700
commit3ef52dd1125b6c9223fd03aca146f6b799e014f9 (patch)
treecfb8ddec6bee9db44e00ce58c55454202a827fdc /builtin/commit.c
parentba9d029445e183d7c7dda75887cee1b5d6fee1d7 (diff)
submodule: fix leaking memory for submodule entries
In `free_one_config()` we never end up freeing the `url` and `ignore` fields and thus leak memory. Fix those leaks and mark now-passing tests as leak free. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions