HomeClusterLabs Projects

Refactor: various: Replace strdup() with pcmk__str_copy()

Description

Refactor: various: Replace strdup() with pcmk__str_copy()

In daemons and in some purely internal code where the allocated object
matters (for example, is not just for logging).

Other uses of strdup() in library code can be addressed as appropriate
during best practices work.

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

Details

Provenance
nrwahl2Authored on Mar 12 2024, 5:53 PM
Parents
rP9f069800dabf: Refactor: libcrmcommon: New pcmk__str_copy()
Branches
Unknown
Tags
Unknown