]> git.ipfire.org Git - thirdparty/git.git/commit
submodule--helper: fix small memory leaks
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Fri, 22 Oct 2021 08:55:43 +0000 (10:55 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 23 Oct 2021 17:45:25 +0000 (10:45 -0700)
commitc270b055d94b643b0ac8bcb390b82330aee01a34
treeb7ebb3f6453003616a4e48dcbe64d8996d8fe037
parent27ff1fbc5dd5ca5f03a65bfc734c913703e8cdf7
submodule--helper: fix small memory leaks

Add a missing strbuf_release() and a clear_pathspec() to the
submodule--helper.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/submodule--helper.c