From: Junio C Hamano Date: Wed, 30 Mar 2016 17:17:19 GMT Subject: Re: [PATCH 3/6] notes: don't leak memory in git_config_get_notes_strategy Message-ID: In-Reply-To: <20160330011334.GC2237@sigill.intra.peff.net> Jeff King writes: > I don't think this is wrong, but would it perhaps be simpler to call > git_config_get_value() in the first place, which does not make a copy of > the string? Yup, I agree.