Michael Paquier <michael@paquier.xyz> writes:
> On Thu, Oct 23, 2025 at 11:18:09AM +0800, Quan Zongliang wrote:
>> Improve the completeness of the code.
> errfinish() calls MemoryContextReset() on ErrorContext so as any leaks
> like the one you are cleaning up are taken care of. Still, what you
> are suggesting is simple enough and silences a bit valgrind, so agreed
> about the addition of this pfree().
> Let's see if somebody objects to that.
Yeah, I object. Didn't 89d57c1fb already solve this in a more
general way? If it's not fixed by that, why not?
regards, tom lane