Re: [PATCH v3 4/6] config.c: don't leak memory in handle_path_include()
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 24, 2021, 05:53 UTC
- Message-ID
- <xmqqee8b55q1.fsf@gitster.g>
- In-Reply-To
- <patch-v3-4.6-3607b905627-20211022T175227Z-avarab@gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
> 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).
I think this has been queued already separately and in 'next'.