From ffdd3189d1df178cd97b8ff91d617ab262ff5692 Mon Sep 17 00:00:00 2001 From: Hayato Kuroda Date: Fri, 4 Sep 2026 12:00:04 +0900 Subject: [PATCH v5 2/2] free allocated memory for max_slot_wal_keep_size --- src/bin/pg_basebackup/pg_createsubscriber.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/pg_basebackup/pg_createsubscriber.c b/src/bin/pg_basebackup/pg_createsubscriber.c index 49ea68f43c7..d4134319191 100644 --- a/src/bin/pg_basebackup/pg_createsubscriber.c +++ b/src/bin/pg_basebackup/pg_createsubscriber.c @@ -1220,6 +1220,7 @@ check_publisher(const struct LogicalRepInfo *dbinfo) } pg_free(wal_level); + pg_free(max_slot_wal_keep_size); if (failed) exit(1); -- 2.52.0