HomeClusterLabs Projects

Refactor: libcrmcommon: improve parse_op_key() efficiency

Description

Refactor: libcrmcommon: improve parse_op_key() efficiency

  • Check error conditions more strictly
  • Allow output variables to be NULL if caller if not interested in them
  • Don't over-allocate memory
  • Ensure output variables need to be freed only if return value is TRUE

Details

Provenance
kgaillotAuthored on May 30 2018, 6:49 PM
Parents
rP1fdb1c9b06bb: Log: scheduler: improve action creation messages
Branches
Unknown
Tags
Unknown

Event Timeline