qemu/hw/dma
Andreas Färber f3c7d0389f hw: Fix qemu_allocate_irqs() leaks
Replace qemu_allocate_irqs(foo, bar, 1)[0]
with qemu_allocate_irq(foo, bar, 0).

This avoids leaking the dereferenced qemu_irq *.

Cc: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Andreas Färber <afaerber@suse.de>
[PC Changes:
 * Applied change to instance in sh4/sh7750.c
]
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Reviewed-by: Kirill Batuzov <batuzovk@ispras.ru>
[AF: Fix IRQ index in sh4/sh7750.c]
Cc: qemu-stable@nongnu.org
Signed-off-by: Andreas Färber <afaerber@suse.de>
2014-06-30 21:13:30 +02:00
..
etraxfs_dma.c memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
i8257.c savevm: Remove all the unneeded version_minimum_id_old (x86) 2014-06-16 04:55:26 +02:00
i82374.c PortioList: Store PortioList in device state 2014-05-05 20:58:33 +02:00
Makefile.objs
omap_dma.c hw: Fix qemu_allocate_irqs() leaks 2014-06-30 21:13:30 +02:00
pl080.c exec: Make ldl_*_phys input an AddressSpace 2014-02-11 22:56:54 +10:00
pl330.c savevm: Remove all the unneeded version_minimum_id_old (arm) 2014-05-13 16:09:35 +01:00
puv3_dma.c puv3_dma: QOM cast cleanup 2013-07-29 21:06:45 +02:00
pxa2xx_dma.c savevm: Remove all the unneeded version_minimum_id_old (arm) 2014-05-13 16:09:35 +01:00
rc4030.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
soc_dma.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
sparc32_dma.c savevm: Remove all the unneeded version_minimum_id_old (rest) 2014-05-14 15:24:51 +02:00
sun4m_iommu.c savevm: Remove all the unneeded version_minimum_id_old (rest) 2014-05-14 15:24:51 +02:00
xilinx_axidma.c hw/dma/xilinx_axidma: Remove unused stream_halted() function 2014-06-10 19:39:34 +04:00