Subject: Re: [PATCH 2/2] read-cache: free hash context in do_write_index()

From: Derrick Stolee <[email-masked]>
Date: Tue, 1 Oct 2024 06:01:06 -0400

On 9/30/24 8:32 AM, Patrick Steinhardt wrote:
> On Mon, Sep 30, 2024 at 11:40:24AM +0000, Derrick Stolee via GitGitGadget wrote:
>> From: Derrick Stolee <[email-masked]>

>> diff --git a/read-cache.c b/read-cache.c
>> index 3c078afadbc..51845c2e611 100644
>> --- a/read-cache.c
>> +++ b/read-cache.c
>> @@ -3126,6 +3126,7 @@ out:
>>   		free_hashfile(f);
>>   	strbuf_release(&sb);
>>   	free(ieot);
>> +	free(eoie_c);
>>   	return ret;
>>   }
> 
> Yup, this one looks correct. I've sent out an equivalent patch via [1] a
> couple hours ago.
> 
> Patrick
> 
> [1]: https://lore.kernel.org/git/[email-masked]/

Sorry for the collision. I had checked when prepping the GGG PR on
Friday but forgot to check again before submitting. Your patch is
better in substance and context.

Thanks,
-Stolee