From: Jeff King Date: Fri, 01 May 2015 22:39:14 GMT Subject: Re: [PATCH] checkout-index.c: Unconditionally free memory Message-ID: <20150501223913.GA1179@peff.net> In-Reply-To: On Fri, May 01, 2015 at 03:33:13PM -0700, Stefan Beller wrote: > > Probably all of the other sites touched by be65e7d could use the same > > treatment. > > I looked around, just as Eric suggested as well and found those too. > I don't think I'll track down the history of when this change became possible, > but I'd rather point to (f5114a40c0d0, 2011-08-04, git-check-attr: > Normalize paths), > where the result of prefix_path is freed unconditionally already. Ah, right. I noticed there were two extras in be65e7d that Eric hadn't mentioned, but I didn't actually check to see if they were already fixed. It looks like they are (further evidence that this is a good thing to be doing :) ). -Peff