HomeClusterLabs Projects

Low: tools: don't ignore cib_new() errors in crm_mon

Description

Low: tools: don't ignore cib_new() errors in crm_mon

Previously we were setting rc but then overwriting it before checking it.
In practice, an error won't be possible, but better to be safe.

Detected by static analysis

Details

Provenance
kgaillotAuthored on Oct 15 2019, 10:52 PM
Parents
rP3d224d092b1f: Low: tools: avoid memory leak in crm_mon when displaying nodes
Branches
Unknown
Tags
Unknown

Event Timeline