From: Junio C Hamano Date: Wed, 18 Jan 2023 16:16:42 GMT Subject: Re: [PATCH v4 08/19] worktree: fix a trivial leak in prune_worktrees() Message-ID: In-Reply-To: <230118.86o7qwxg4e.gmgdl@evledraar.gmail.com> Ævar Arnfjörð Bjarmason writes: >> diff --git c/builtin/branch.c w/builtin/branch.c >> index f63fd45edb..4fe7757670 100644 >> --- c/builtin/branch.c >> +++ w/builtin/branch.c >> @@ -742,6 +742,7 @@ int cmd_branch(int argc, const char **argv, const char *prefix) >> if (filter.abbrev == -1) >> filter.abbrev = DEFAULT_ABBREV; >> filter.ignore_case = icase; >> + UNLEAK(filter); >> >> finalize_colopts(&colopts, -1); >> if (filter.verbose) { > > I'll send a v5 re-roll without this change, sorry. I'd rather see your reroll with the above addition of UNLEAK() than without it, to fix the breakage.