From: Johannes Schindelin Date: Wed, 07 Sep 2022 10:06:33 GMT Subject: Re: [PATCH v2] diff --no-index: unleak paths[] elements Message-ID: <36q9s463-rno9-9rs1-7qsq-5oqq23o30o0r@tzk.qr> In-Reply-To: <220905.86zgfekrqq.gmgdl@evledraar.gmail.com> Hi Ævar, On Mon, 5 Sep 2022, Ævar Arnfjörð Bjarmason wrote: > On Mon, Sep 05 2022, Johannes Schindelin wrote: > > [...] > > + string_list_clear(&to_release, 1); > [...] > > * The free_util=1 in your code isn't needed/is a bug, we make no use of > "util" here, so it should be free_util=0 Calling it a bug is a bit strong, and misses the reason why I did it: future-proofing. In any case, René took up Junio's ask and provided a new iteration that side-steps this concern altogether, therefore the point is now moot. Ciao, Johannes