projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff1685a
)
pc: free i8259
author
Marc-André Lureau
<marcandre.lureau@redhat.com>
Thu, 14 Jul 2016 12:27:17 +0000
(14:27 +0200)
committer
Marc-André Lureau
<marcandre.lureau@redhat.com>
Thu, 8 Sep 2016 14:05:21 +0000
(18:05 +0400)
Simiarly to
2ba154cf4eb8636cdd3aa90f392ca9e77206ca39
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
hw/i386/pc_q35.c
patch
|
blob
|
history
diff --git
a/hw/i386/pc_q35.c
b/hw/i386/pc_q35.c
index
c0b9961
..
c5e8367
100644
(file)
--- a/
hw/i386/pc_q35.c
+++ b/
hw/i386/pc_q35.c
@@
-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");
}