summaryrefslogtreecommitdiff
path: root/ls-refs.h
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2021-10-21 21:54:14 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-10-21 16:26:45 -0700
commit25ad722126c77a546ab1ac7111f090bd8d0e3c13 (patch)
tree38b7c848341c7e6ecbe2891836fce0282bd5afc3 /ls-refs.h
parentThe fourteenth batch (diff)
downloadtgif-25ad722126c77a546ab1ac7111f090bd8d0e3c13.tar.xz
config.c: don't leak memory in handle_path_include()
Fix a memory leak in the error() path in handle_path_include(), this allows us to run t1305-config-include.sh under SANITIZE=leak, previously 4 tests there would fail. This fixes up a leak in 9b25a0b52e0 (config: add include directive, 2012-02-06). Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ls-refs.h')
0 files changed, 0 insertions, 0 deletions