From: Pranit Bauva Date: Tue, 24 May 2016 06:35:48 GMT Subject: Re: [PATCH] builtin/commit.c: memoize git-path for COMMIT_EDITMSG Message-ID: In-Reply-To: Hey Junio On Tue, May 24, 2016 at 11:24 AM, Pranit Bauva wrote: >> And you do not free its return value. > This is one of the thing that bugging me with GIT_PATH_FUNC. Wouldn't > not freeing the memory lead to memory leaks? Slight misunderstanding. I got it now. Thanks! > Regards, > Pranit Bauva