From: Gerd Hoffmann Date: Mon, 8 Nov 2021 13:07:17 +0000 (+0100) Subject: microvm: add missing g_free() call X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=1b38ccc9a1fa865a8838c89216dc36df87e9c9d5;p=qmiga%2Fqemu.git microvm: add missing g_free() call Fixes: CID 1465240 Signed-off-by: Gerd Hoffmann Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20211108130718.840216-2-kraxel@redhat.com> --- diff --git a/hw/i386/microvm-dt.c b/hw/i386/microvm-dt.c index 6ee6c42904..a6a59a6e12 100644 --- a/hw/i386/microvm-dt.c +++ b/hw/i386/microvm-dt.c @@ -143,6 +143,8 @@ static void dt_add_pcie(MicrovmMachineState *mms) nr_pcie_buses = PCIE_ECAM_SIZE / PCIE_MMCFG_SIZE_MIN; qemu_fdt_setprop_cells(mms->fdt, nodename, "bus-range", 0, nr_pcie_buses - 1); + + g_free(nodename); } static void dt_add_ioapic(MicrovmMachineState *mms, SysBusDevice *dev)