HomeClusterLabs Projects

Fix: libcrmcommon: request should be a gchar *, not a char *.

Description

Fix: libcrmcommon: request should be a gchar *, not a char *.

It is constructed by processing argv with g_strjoinv, which returns a
gchar *. This also requires making processed_args a gchar *, which it
was in some places but not others. Finishing that requires changing the
return type of pcmk__cmdline_preproc.

Finally, call the correct freeing functions for request and
processed_args.

Details

Provenance
clumensAuthored on Dec 4 2019, 1:30 PM
Parents
rP5916ce426dce: Fix: tools: Be sure to free the GError when done with it.
Branches
Unknown
Tags
Unknown

Event Timeline