File pacemaker-attrd-memory-leak-at-start-up.patch of Package pacemaker.14737
commit 97aabaa060500e7730244d6f92aeb19319f0623a
Author: Ken Gaillot <kgaillot@redhat.com>
Date: Thu Dec 14 16:05:12 2017 -0600
Low: attrd: avoid small memory leak at start-up
introduced by 3518544
diff --git a/attrd/commands.c b/attrd/commands.c
index dc488fe48..3deed8e65 100644
--- a/attrd/commands.c
+++ b/attrd/commands.c
@@ -538,6 +538,7 @@ attrd_broadcast_protocol()
crm_xml_add(attrd_op, F_ATTRD_VALUE, ATTRD_PROTOCOL_VERSION);
crm_xml_add_int(attrd_op, F_ATTRD_IS_PRIVATE, 1);
attrd_client_update(attrd_op);
+ free_xml(attrd_op);
}
void