File pacemaker-crmd-memory-leak-sending-fencing-alert.patch of Package pacemaker.3577

commit e4c435394fb22702d1347b968af75f48965b824c
Author: Ken Gaillot <kgaillot@redhat.com>
Date:   Thu Jun 9 17:18:37 2016 -0500

    Fix: crmd: avoid memory leak when sending fencing alert

Index: pacemaker/crmd/notify.c
===================================================================
--- pacemaker.orig/crmd/notify.c
+++ pacemaker/crmd/notify.c
@@ -155,6 +155,7 @@ crmd_notify_fencing_op(stonith_event_t *
     set_notify_key("CRM_notify_rc", NULL, crm_itoa(e->result));
 
     send_notification("fencing");
+    free(desc);
 }
 
 void
openSUSE Build Service is sponsored by