Re: [PATCH 08/20] reset: fix cmd_reset() leaks with a clear_pathspec() call
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 29, 2022, 09:12 UTC
- Message-ID
- <xmqqedsimv38.fsf@gitster.g>
- In-Reply-To
- <patch-08.20-21670099c84-20221228T175512Z-avarab@gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
> Add clear_pathspec() calls to cmd_reset(), including to the codepaths > where we'd return early.
Unlike the [05/20] step, this did not have UNLEAK(), so it is a true improvement ;-)