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:"));