From 9acf7bdfea31a8d0853da4e9a02c090351c9d5ef Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Tue, 26 Mar 2019 11:35:45 +0900 Subject: [PATCH] repmgrd: don't terminate uninitialized PQExpBuffer --- repmgrd-physical.c | 1 - 1 file changed, 1 deletion(-) diff --git a/repmgrd-physical.c b/repmgrd-physical.c index be14bdc6..b634210c 100644 --- a/repmgrd-physical.c +++ b/repmgrd-physical.c @@ -1455,7 +1455,6 @@ loop: upstream_node_info.node_name, upstream_node_info.node_id); PQfinish(primary_conn); primary_conn = NULL; - termPQExpBuffer(&event_details); local_node_info.upstream_node_id = UNKNOWN_NODE_ID; return;