436eae4e1e
... for release candidate: Pacemaker-2.0.0-rc2, for full details, see included ChangeLog file or https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-2.0.0-rc2 Adapt spec file more akin to upstream version including: . out-of-tree change from 1.1.18-2 build got subsumed (508ad52e7) . %%{_sysconfdir}/pacemaker path got properly owned (-cli package; f6e3ab98d) . -libs package started to properly declare Requires(pre): shadow-utils (293fcc1e8 + b3d49d210) . some build conditionals and dependencies dropped for no longer (snmp, esmtp; f24bdc6f2 and 1f7374884, respectively) or never being relevant (~bison, byacc, flex; 61aef8af4) . some dependencies were constrained with new or higher lower bounds: corosync needs to be of version 2+ unconditionally (ccd58fe29), ditto some others components (~GLib, 1ac2e7cbb), plus both 2 and 3 versions of Python are now (comprehensively for the auxiliary functionality where used) supported upstream with the latter being a better fit (453355f8f) . package descriptions got to reflect the drop of legacy low-level cluster infrastructures (55ab749bf) Adapt spec file akin to current packaging guidelines including: . drop some redundant/futile expressions (defattr, "-n %%{name}-libs" instead of plain "libs", "timezone hack"), add some notes for future . make -cts and -doc packages noarch (former enabled with 088a5e7d4) . simplify "systemd_requires" macro invocation, and relax it to "systemd_ordering" for -remote package where possible so as not to drag systemd into a lightweight system setup (e.g. container) needlessly . adjust, in a compatible way, common ldconfig invocation with post{,un} scriptlets (https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets) . drop some more unuseful conditionals (upstart_job) Apply some regression fixes on top as patches (PR #1457, #1459) Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
34 lines
831 B
Diff
34 lines
831 B
Diff
From 13a7c5be972fbd5c00fa0ad3b832720c966e80cf Mon Sep 17 00:00:00 2001
|
|
From: Ken Gaillot <kgaillot@redhat.com>
|
|
Date: Tue, 10 Apr 2018 15:19:11 -0500
|
|
Subject: [PATCH 13/17] Low: fencing: avoid memory leaks when freeing remote
|
|
operation
|
|
|
|
---
|
|
fencing/remote.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/fencing/remote.c b/fencing/remote.c
|
|
index a2b8bfb40..42ca9a7e8 100644
|
|
--- a/fencing/remote.c
|
|
+++ b/fencing/remote.c
|
|
@@ -237,6 +237,7 @@ free_remote_op(gpointer data)
|
|
|
|
free(op->id);
|
|
free(op->action);
|
|
+ free(op->delegate);
|
|
free(op->target);
|
|
free(op->client_id);
|
|
free(op->client_name);
|
|
@@ -254,6 +255,7 @@ free_remote_op(gpointer data)
|
|
op->devices_list = NULL;
|
|
}
|
|
g_list_free_full(op->automatic_list, free);
|
|
+ g_list_free(op->duplicates);
|
|
free(op);
|
|
}
|
|
|
|
--
|
|
2.17.0
|
|
|