Re: Fix resource leak (src/backend/libpq/be-secure-common.c)
Ranier Vilela <ranier.vf@gmail.com>
From: Ranier Vilela <ranier.vf@gmail.com>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: Michael Paquier <michael@paquier.xyz>,
PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2024-05-14T11:03:57Z
Lists: pgsql-hackers
Em ter., 14 de mai. de 2024 às 07:21, Daniel Gustafsson <daniel@yesql.se> escreveu: > > 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. > Thanks Daniel. best regards, Ranier Vilela
Commits
-
Fix memory leaks in error reporting with LOG level
- b362d1481669 17.0 landed