Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
pacemaker.3577
pacemaker-attrd-exit-crash.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pacemaker-attrd-exit-crash.patch of Package pacemaker.3577
commit f9a61522456ac94ddd160e88371979f7996eaff6 Author: Ken Gaillot <kgaillot@redhat.com> Date: Wed Mar 16 17:56:51 2016 -0500 Fix: attrd: crash on exit if initialization fails Patch supplied by Vladislav Bogdanov <bubble@hoster-ok.com> on the users@clusterlabs.org mailing list on 2015-10-12 diff --git a/attrd/main.c b/attrd/main.c index 0198396..31e5317 100644 --- a/attrd/main.c +++ b/attrd/main.c @@ -374,8 +374,10 @@ main(int argc, char **argv) election_fini(writer); crm_client_disconnect_all(ipcs); - qb_ipcs_destroy(ipcs); - g_hash_table_destroy(attributes); + if (ipcs) { + qb_ipcs_destroy(ipcs); + g_hash_table_destroy(attributes); + } if (the_cib) { the_cib->cmds->signoff(the_cib);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor