From 893044f1e9b2f2f077214d974848de29a46174e4 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Thu, 16 Jul 2020 11:08:20 +0900 Subject: [PATCH] Add missing pfree() calls --- repmgr-action-cluster.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/repmgr-action-cluster.c b/repmgr-action-cluster.c index 73d0c3aa..ae1bbbdc 100644 --- a/repmgr-action-cluster.c +++ b/repmgr-action-cluster.c @@ -681,6 +681,8 @@ do_cluster_crosscheck(void) printf("\n"); } + pfree(headers_crosscheck); + if (warnings.head != NULL && runtime_options.terse == false) { log_warning(_("following problems detected:")); @@ -842,6 +844,8 @@ do_cluster_matrix() printf("\n"); } + pfree(headers_matrix); + if (warnings.head != NULL && runtime_options.terse == false) { log_warning(_("following problems detected:"));