mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
microvm: add missing g_free() call
Fixes: CID 1465240 Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20211108130718.840216-2-kraxel@redhat.com>
This commit is contained in:
parent
d612405ed2
commit
1b38ccc9a1
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue