diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2021-11-08 14:07:17 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2021-11-22 11:14:28 +0100 |
commit | 1b38ccc9a1fa865a8838c89216dc36df87e9c9d5 (patch) | |
tree | 76216f12dc418886121fd7c64df8d5429bfa629b /hw | |
parent | d612405ed2a1163a142f94552a9874ad4b02de30 (diff) | |
download | qemu-1b38ccc9a1fa865a8838c89216dc36df87e9c9d5.zip qemu-1b38ccc9a1fa865a8838c89216dc36df87e9c9d5.tar.gz qemu-1b38ccc9a1fa865a8838c89216dc36df87e9c9d5.tar.bz2 |
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>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/i386/microvm-dt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/i386/microvm-dt.c b/hw/i386/microvm-dt.c index 6ee6c42..a6a59a6 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) |