hw/ppc/spapr_vio.c: use g_autofree in spapr_dt_vdevice()
commit169518430562b454a1531610d2711c6b920929f6
authorDaniel Henrique Barboza <danielhb413@gmail.com>
Wed, 2 Mar 2022 05:51:40 +0000 (2 06:51 +0100)
committerCédric Le Goater <clg@kaod.org>
Wed, 2 Mar 2022 05:51:40 +0000 (2 06:51 +0100)
treea951bb663225ffa4a1193d6c9d619483f988e732
parent3a1229148d3176bb3dbb1b0054da28400ab17694
hw/ppc/spapr_vio.c: use g_autofree in spapr_dt_vdevice()

And return the result of g_strdup_printf() directly instead of using the
'path' var.

Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220228175004.8862-15-danielhb413@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/ppc/spapr_vio.c