pgsql: pg_basebackup: Add missing PQclear in error path

From: Daniel Gustafsson <dgustafsson(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_basebackup: Add missing PQclear in error path
Date: 2025-03-25 16:29:26
Message-ID: E1tx79Z-000x0m-1t@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_basebackup: Add missing PQclear in error path

This adds a missing PQclear in the error path of StreamLogicalLog, a
fix in the same vein as e889422d98e with an equivalent low impact.

Author: Steven Niu <niushiji(at)gmail(dot)com>
Reviewed-by: Daniel Gustafsson <daniel(at)yesql(dot)se>
Discussion: https://postgr.es/m/c4b1c627-a3e4-4347-a670-1e28a43ce0eb@gmail.com

Branch
------
master

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

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

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2025-03-25 16:53:13 Re: Squash constant lists in query jumbling by default
Previous Message Christoph Berg 2025-03-25 16:28:59 Squash constant lists in query jumbling by default