mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-09-01 06:21:52 -06:00
spapr: Free stdout path
This fixes LeakSanitizer warnings. Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
This commit is contained in:
parent
1a7a31aec4
commit
8af863f2bd
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ target_ulong spapr_h_vof_client(PowerPCCPU *cpu, SpaprMachineState *spapr,
|
||||||
|
|
||||||
void spapr_vof_client_dt_finalize(SpaprMachineState *spapr, void *fdt)
|
void spapr_vof_client_dt_finalize(SpaprMachineState *spapr, void *fdt)
|
||||||
{
|
{
|
||||||
char *stdout_path = spapr_vio_stdout_path(spapr->vio_bus);
|
g_autofree char *stdout_path = spapr_vio_stdout_path(spapr->vio_bus);
|
||||||
|
|
||||||
vof_build_dt(fdt, spapr->vof);
|
vof_build_dt(fdt, spapr->vof);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue