pg_basebackup: Add missing PQclear in error path

Daniel Gustafsson <dgustafsson@postgresql.org>

Commit: a19db082749662a933d0bf72722982b1ee2c4725
Author: Daniel Gustafsson <dgustafsson@postgresql.org>
Date: 2025-03-25T16:24:23Z
Releases: 18.0
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

Files

PathChange+/−
src/bin/pg_basebackup/pg_recvlogical.c modified +1 −0

Discussion