Daniel Henrique Barboza 75610acfd3 hw/ppc/spapr_drc.c: use g_auto in spapr_dt_drc()
Use g_autoptr() with GArray* and GString* pointers to avoid calling
g_free() and the need for the 'out' label.

'drc_name' can also be g_autofreed to avoid a g_free() call at the end
of the while() loop.

Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220228175004.8862-7-danielhb413@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
2022-03-02 06:51:39 +01:00
..
2022-02-22 13:07:32 +00:00
2022-02-28 16:46:45 +00:00
2022-02-15 19:30:33 +00:00
2022-02-22 13:07:32 +00:00
2022-02-21 13:30:20 +00:00
2022-02-28 16:46:45 +00:00
2022-02-21 18:21:54 +01:00
2022-02-21 10:18:06 +01:00
2022-02-21 13:30:21 +00:00
2022-02-21 10:18:06 +01:00
2022-02-22 20:17:09 +00:00