Re: [PATCH] Fix leak in credential_apply_config
- From
Jeff King <peff@peff.net>
- Date
- Aug 20, 2021, 17:57 UTC
- Message-ID
- <YR/tETCiv3TqqEPH@coredump.intra.peff.net>
- In-Reply-To
- <YR/sxISzR0RebVMZ@coredump.intra.peff.net>
On Fri, Aug 20, 2021 at 01:56:20PM -0400, Jeff King wrote:
Show 6 quoted lines
> > It would help unify the handling of code that is somewhat > > duplicated (but slightly different each time) across > > credential_apply_config(), http_init(), get_urlmatch(), > > and cmd__urlmatch_normalization(). > > Agreed. It looks like http_init() has the same leak that is fixed here.
Oh, nevermind. That call is indeed correct. Apparently if you re-order two lines I'm unable to see them. ;)
-Peff