HomeClusterLabs Projects

Fix: libcrmcommon: Make sure to free the --output-as description.

Description

Fix: libcrmcommon: Make sure to free the --output-as description.

This is done by putting it into pcmkcommon_args_t which ensures it
will be freed when g_option_context_free is called. Also, add
pcmk
free_arg_context as a wrapper around that function. This makes
sure context is valid first and gives us a place to put additional
cleanups later.

Details

Provenance
clumensAuthored on Nov 6 2019, 10:19 AM
Parents
rP4e233ebc504f: Fix: libcrmcommon: Rename formatted output cmdline options.
Branches
Unknown
Tags
Unknown

Event Timeline