HomeClusterLabs Projects

Fix: libtransition: potential memory leak if unpacking action fails

Description

Fix: libtransition: potential memory leak if unpacking action fails

Before, a copy of the action XML would be allocated but not freed
if allocating the action structure then failed, and callers would silently
ignore the failure. Now, the memory leak is avoided, and any errors
will be logged.

Details

Provenance
kgaillotAuthored on Mar 3 2016, 5:55 PM
Parents
rP9595db8c7141: Log: crmd: improve log messages from match_down_event()
Branches
Unknown
Tags
Unknown

Event Timeline