diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-07-13 02:53:46 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-09-08 18:05:21 +0400 |
commit | ac64c5fdf8c1e470cfca94d7ad5686770e6e470a (patch) | |
tree | ef12aeaf01d3889bb004ef6ea21412823dc0055c /hw/i386/pc.c | |
parent | d80fe99de48b39dbb5f9f8d1d958b87a9bfeb853 (diff) | |
download | qemu-ac64c5fdf8c1e470cfca94d7ad5686770e6e470a.zip |
pc: don't leak a20_line
The irqs array is no longer being used
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'hw/i386/pc.c')
-rw-r--r-- | hw/i386/pc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/i386/pc.c b/hw/i386/pc.c index 15966ce994..e31f70f428 100644 --- a/hw/i386/pc.c +++ b/hw/i386/pc.c @@ -1608,6 +1608,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); |