HomeClusterLabs Projects

Fix: libcrmcommon: Don't leak memory in pcmk__cmdline_preproc.

Description

Fix: libcrmcommon: Don't leak memory in pcmk__cmdline_preproc.

The result of this function is always freed with g_strfreev, which means
the memory needs to be allocated with g_strdup.

Details

Provenance
clumensAuthored on Oct 12 2020, 2:23 PM
Parents
rP532a66f54977: Fix: tools: Don't leak options.xml_file in crm_simulate.
Branches
Unknown
Tags
Unknown

Event Timeline