From d2a2df13d5c036b81c4d6554341f0162ab042d98 Mon Sep 17 00:00:00 2001 From: Andrzej Nowicki Date: Tue, 13 Mar 2018 11:23:33 +0100 Subject: [PATCH] One more memory leak fixed --- dbutils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dbutils.c b/dbutils.c index f4a5327e..4f392fc9 100644 --- a/dbutils.c +++ b/dbutils.c @@ -2608,6 +2608,7 @@ witness_copy_node_records(PGconn *primary_conn, PGconn *witness_conn) return false; } + PQclear(res); /* truncate existing records */