Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
pacemaker.3577
pacemaker-pengine-memory-leak-invalid-constrain...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pacemaker-pengine-memory-leak-invalid-constraint-set.patch of Package pacemaker.3577
commit 7e4a8a575efc59eacccfdd3dc8c1b76a2a0e37c3 Author: Ken Gaillot <kgaillot@redhat.com> Date: Thu Jun 9 11:52:43 2016 -0500 Fix: pengine: avoid memory leak when invalid constraint involves set diff --git a/pengine/constraints.c b/pengine/constraints.c index a39b8b2..dd7d843 100644 --- a/pengine/constraints.c +++ b/pengine/constraints.c @@ -908,6 +908,9 @@ unpack_location(xmlNode * xml_obj, pe_working_set_t * data_set) any_sets = TRUE; set = expand_idref(set, data_set->input); if (unpack_location_set(xml_obj, set, data_set) == FALSE) { + if (expanded_xml) { + free_xml(expanded_xml); + } return FALSE; } }
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