|
|
1f016a |
From 3414f1cd3ebcc2e6f787ea14d8e31510f36fbe4a Mon Sep 17 00:00:00 2001
|
|
|
1f016a |
From: Hideo Yamauchi <renayama19661014@ybb.ne.jp>
|
|
|
1f016a |
Date: Tue, 6 Jan 2015 16:05:34 +0900
|
|
|
1f016a |
Subject: [PATCH] Update membership.c
|
|
|
1f016a |
|
|
|
1f016a |
---
|
|
|
1f016a |
crmd/membership.c | 8 ++------
|
|
|
1f016a |
1 file changed, 2 insertions(+), 6 deletions(-)
|
|
|
1f016a |
|
|
|
1f016a |
diff --git a/crmd/membership.c b/crmd/membership.c
|
|
|
1f016a |
index 946cde0..e1414df 100644
|
|
|
1f016a |
--- a/crmd/membership.c
|
|
|
1f016a |
+++ b/crmd/membership.c
|
|
|
1f016a |
@@ -378,17 +378,13 @@ populate_cib_nodes(enum node_update_flags flags, const char *source)
|
|
|
1f016a |
|
|
|
1f016a |
g_hash_table_iter_init(&iter, crm_peer_cache);
|
|
|
1f016a |
while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) {
|
|
|
1f016a |
- xmlNode *update = NULL;
|
|
|
1f016a |
- update = do_update_node_cib(node, flags, node_list, source);
|
|
|
1f016a |
- free_xml(update);
|
|
|
1f016a |
+ do_update_node_cib(node, flags, node_list, source);
|
|
|
1f016a |
}
|
|
|
1f016a |
|
|
|
1f016a |
if (crm_remote_peer_cache) {
|
|
|
1f016a |
g_hash_table_iter_init(&iter, crm_remote_peer_cache);
|
|
|
1f016a |
while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) {
|
|
|
1f016a |
- xmlNode *update = NULL;
|
|
|
1f016a |
- update = do_update_node_cib(node, flags, node_list, source);
|
|
|
1f016a |
- free_xml(update);
|
|
|
1f016a |
+ do_update_node_cib(node, flags, node_list, source);
|
|
|
1f016a |
}
|
|
|
1f016a |
}
|
|
|
1f016a |
|
|
|
1f016a |
--
|
|
|
1f016a |
1.8.4.2
|
|
|
1f016a |
|