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
rP959e8032f4db: Merge pull request #3640 from kgaillot/backport
Branches
Unknown
Tags
Unknown