HomeClusterLabs Projects

Refactor: libcrmcommon: New pcmk__mem_assert()

Description

Refactor: libcrmcommon: New pcmk__mem_assert()

Assert without dumping core upon memory allocation failure.

While adding calls to pcmkmem_assert, update some strdups to
pcmk
str_update() where appropriate.

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

Details

Provenance
nrwahl2Authored on Mar 11 2024, 5:09 PM
Parents
rPc89ec05cb48a: Doc: controller: Explain strdup() into const pointer
Branches
Unknown
Tags
Unknown