Message ID | 20160719085432.4572-17-marcandre.lureau@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 07/19/2016 02:54 AM, marcandre.lureau@redhat.com wrote: > From: Marc-André Lureau <marcandre.lureau@redhat.com> > > The irqs array is no longer being used > > Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> > --- > hw/i386/pc.c | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Eric Blake <eblake@redhat.com> > diff --git a/hw/i386/pc.c b/hw/i386/pc.c > index 57b09c9..a20ab58 100644 > --- a/hw/i386/pc.c > +++ b/hw/i386/pc.c > @@ -1561,6 +1561,7 @@ void pc_basic_device_init(ISABus *isa_bus, qemu_irq *gsi, > } > port92 = isa_create_simple(isa_bus, "port92"); > port92_init(port92, a20_line[1]); > + g_free(a20_line); > > DMA_init(isa_bus, 0); > >
diff --git a/hw/i386/pc.c b/hw/i386/pc.c index 57b09c9..a20ab58 100644 --- a/hw/i386/pc.c +++ b/hw/i386/pc.c @@ -1561,6 +1561,7 @@ void pc_basic_device_init(ISABus *isa_bus, qemu_irq *gsi, } port92 = isa_create_simple(isa_bus, "port92"); port92_init(port92, a20_line[1]); + g_free(a20_line); DMA_init(isa_bus, 0);