HomeClusterLabs Projects

Refactor: libcrmcommon: pcmk__deleted_xml_t:path is now gchar

Description

Refactor: libcrmcommon: pcmk__deleted_xml_t:path is now gchar

Avoids strdup() in free_xml_with_position(). g_string_free(xpath, FALSE)
frees the GString while transferring ownership of the underlying gchar
string to deleted_obj->path.

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

Details

Provenance
nrwahl2Authored on Feb 11 2024, 6:47 PM
Parents
rP2d0944d11071: Refactor: libcrmcommon: Clean up free_xml_with_position
Branches
Unknown
Tags
Unknown