summary refs log tree commit diff stats
path: root/hw/i386/microvm-dt.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/i386/microvm-dt.c')
-rw-r--r--hw/i386/microvm-dt.c2
1 files changed, 2 insertions, 0 deletions
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)