pg_basebackup: Add missing PQclear in error path
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Tue, 25 Mar 2025 16:24:23 +0000 (17:24 +0100)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Tue, 25 Mar 2025 16:24:23 +0000 (17:24 +0100)
commita19db082749662a933d0bf72722982b1ee2c4725
treef79247cf743ede34dba6d13c2612b0e14e75e4e4
parentef7a5af77d449ee2b426f627c1f7472740350040
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@gmail.com>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/c4b1c627-a3e4-4347-a670-1e28a43ce0eb@gmail.com
src/bin/pg_basebackup/pg_recvlogical.c