RISC-V: Add missing free for plic_hart_config
Signed-off-by: Michael Clark <mjc@sifive.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Palmer Dabbelt <palmer@sifive.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
This commit is contained in:
parent
426f03482c
commit
b6aa6cedf4
@ -385,6 +385,8 @@ static void riscv_virt_board_init(MachineState *machine)
|
||||
serial_mm_init(system_memory, memmap[VIRT_UART0].base,
|
||||
0, qdev_get_gpio_in(DEVICE(s->plic), UART0_IRQ), 399193,
|
||||
serial_hd(0), DEVICE_LITTLE_ENDIAN);
|
||||
|
||||
g_free(plic_hart_config);
|
||||
}
|
||||
|
||||
static void riscv_virt_board_machine_init(MachineClass *mc)
|
||||
|
Loading…
Reference in New Issue
Block a user