HomeClusterLabs Projects

Low: libcib: improve error handling in cib_file_new()

Description

Low: libcib: improve error handling in cib_file_new()

Move argument validation to top so we don't leak memory on failure,
and check strdup() for failure.

Details

Provenance
kgaillotAuthored on Aug 26 2024, 7:03 PM
Parents
rP1bbe9bf1437f: Merge pull request #3625 from kgaillot/fixes
Branches
Unknown
Tags
Unknown