hw/ppc/spapr_caps.c: use g_autofree in spapr_cap_set_string()
commitea8464fa27fe5acf09b90a7b9a496d3a5e0e2f21
authorDaniel Henrique Barboza <danielhb413@gmail.com>
Wed, 2 Mar 2022 05:51:39 +0000 (2 06:51 +0100)
committerCédric Le Goater <clg@kaod.org>
Wed, 2 Mar 2022 05:51:39 +0000 (2 06:51 +0100)
tree596fa3ce0eec766d41f9098f0677188332734154
parent5f2b96b38e125f624c5dc0bf84de0bbc2efb0523
hw/ppc/spapr_caps.c: use g_autofree in spapr_cap_set_string()

And get rid of the 'out' label since it's now unused.

Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220228175004.8862-4-danielhb413@gmail.com>
[ clg: Fixed typo in commit log ]
Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/ppc/spapr_caps.c