HomeClusterLabs Projects

Refactor: libcrmcommon: Use pcmk__insert_dup() in cluster_option_value()

Description

Refactor: libcrmcommon: Use pcmk__insert_dup() in cluster_option_value()

In both cases, the key does not exist in the table, so the old value
will not get freed. Thus the value pointer remains valid.

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

Details

Provenance
nrwahl2Authored on Feb 7 2024, 11:25 PM
Parents
rPba874cb0bc06: Refactor: libcrmcommon: Pass option to cluster_option_value()
Branches
Unknown
Tags
Unknown