Re: [PATCH] Fix Potential Memory Leak in pg_amcheck Code
Kirill Reshke <reshkekirill@gmail.com>
From: Kirill Reshke <reshkekirill@gmail.com>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: Saladin <312199339@qq.com>,
pgsql-hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-02-23T06:49:05Z
Lists: pgsql-hackers
Hi! On Fri, 7 Feb 2025 at 13:28, Daniel Gustafsson <daniel@yesql.se> wrote: > > That being said, there is > value in doing the right thing and setting good examples in our own code as > many do read it and reference it. > We call PQclear on such a > case elsewhere in the file so it's not entirely consistent, but it's not all > that important as the memory will be reclaimed at exit. So, are we +1 or -1 on moving this forward? -- Best regards, Kirill Reshke
Commits
-
pg_amcheck: PQclear query results
- e889422d98e0 18.0 landed