mirror of
https://github.com/qemu/qemu.git
synced 2024-11-26 12:23:36 +08:00
pc: free i8259
Simiarly to 2ba154cf4e
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
This commit is contained in:
parent
ff1685a333
commit
8197e24c38
@ -213,6 +213,8 @@ static void pc_q35_init(MachineState *machine)
|
||||
for (i = 0; i < ISA_NUM_IRQS; i++) {
|
||||
gsi_state->i8259_irq[i] = i8259[i];
|
||||
}
|
||||
g_free(i8259);
|
||||
|
||||
if (pcmc->pci_enabled) {
|
||||
ioapic_init_gsi(gsi_state, "q35");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user