HomeClusterLabs Projects

Refactor: libcrmcommon: Improve scandir() error checking for schemas

Description

Refactor: libcrmcommon: Improve scandir() error checking for schemas

And free namelist on error. The scandir(3) man page doesn't specify that
nothing is allocated on error... though I would hope that's the case.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Mar 9 2025, 12:01 AM
Parents
rP48ede1b77136: Merge pull request #3829 from clumens/cppcheck
Branches
Unknown
Tags
Unknown