Re: [PATCH v2] diff --no-index: unleak paths[] elements
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Sep 7, 2022, 10:06 UTC
- 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:
Show 8 quoted lines
> 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