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