From 172a3d90cf780c603063bb7ceb703fc485693787 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Thu, 19 Mar 2015 09:55:20 +0900 Subject: [PATCH] Terminate rather than destroy --- repmgrd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repmgrd.c b/repmgrd.c index 3b9d8188..7dc83b44 100644 --- a/repmgrd.c +++ b/repmgrd.c @@ -1566,7 +1566,7 @@ do_primary_failover(void) event_details.data); PQfinish(new_primary_conn); - destroyPQExpBuffer(&event_details); + termPQExpBuffer(&event_details); } /* to force it to re-calculate mode and master node */