pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Gustafsson <dgustafsson@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pg_amcheck: PQclear query results
Date: Mon, 24 Feb 2025 15:20:15 +0000
Message-ID: <E1tmaFj-000TEB-2E@gemulon.postgresql.org> (raw)

pg_amcheck: PQclear query results

While the potential memory leak is small, ensure to PQclear the query
results before disconnecting.

Author: Jiao Shuntian <312199339@qq.com>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/tencent_F34922C91C41E76C734773E767C9FBDB9906@qq.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e889422d98e066dcf095fa275fbcb14ffd45708c

Modified Files
--------------
src/bin/pg_amcheck/pg_amcheck.c | 1 +
1 file changed, 1 insertion(+)



Message-ID: <E1tmaFj-000TEB-2E@gemulon.postgresql.org>
Permalink:  ../E1tmaFj-000TEB-2E@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1tmaFj-000TEB-2E@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: dgustafsson@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: pg_amcheck: PQclear query results
  In-Reply-To: <E1tmaFj-000TEB-2E@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox