Re: Fix resource leak (src/backend/libpq/be-secure-common.c) - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: Fix resource leak (src/backend/libpq/be-secure-common.c)
Date
Msg-id 160D403D-9DD8-42E8-AD26-7261DC243156@yesql.se
Whole thread Raw
In response to Re: Fix resource leak (src/backend/libpq/be-secure-common.c)  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Fix resource leak (src/backend/libpq/be-secure-common.c)
List pgsql-hackers
> On 14 May 2024, at 08:03, Michael Paquier <michael@paquier.xyz> wrote:
> 
> On Mon, May 13, 2024 at 08:06:57PM +0200, Daniel Gustafsson wrote:
>>> Any chance we'll have these fixes in v17?
>> 
>> Nice timing, I was actually rebasing them today to get them committed.
> 
> Looks sensible seen from here, as these paths could use a LOG or rely
> on a memory context permanent to the backend causing junk to be
> accumulated.  It's not that much, still that would accumulate.

Pushed.

--
Daniel Gustafsson




pgsql-hackers by date:

Previous
From: Jakub Wartak
Date:
Subject: Re: elog/ereport VS misleading backtrace_function function address
Next
From: Ilyasov Ian
Date:
Subject: Fix src/test/subscription/t/029_on_error.pl test when wal_debug is enabled