From: Junio C Hamano Date: Fri, 09 May 2025 14:25:56 GMT Subject: Re: [PATCH v3] REFTABLE_REALLOC_ARRAY: remove this unsafe yet unused macro Message-ID: In-Reply-To: Patrick Steinhardt writes: > On Fri, May 09, 2025 at 07:44:46AM +0000, Lidong Yan via GitGitGadget wrote: >> From: Lidong Yan <502024330056@smail.nju.edu.cn> >> >> REFTABLE_REALLOC_ARRAY will cause memory leak if realloc failed. >> Since it is unused, remove this unsafe macro. > > This looks good to me, thanks! Alright. As long as we do not foresee adding a new caller of this in the near future, removal is always preferred ;-) Thanks.