Skip to content

Commit

Permalink
pc: free i8259
Browse files Browse the repository at this point in the history
Simiarly to 2ba154c

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
  • Loading branch information
elmarco committed Sep 8, 2016
1 parent ff1685a commit 8197e24
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hw/i386/pc_q35.c
Expand Up @@ -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");
}
Expand Down

0 comments on commit 8197e24

Please sign in to comment.