qemu-patch-raspberry4/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
i8257.c savevm: Remove all the unneeded version_minimum_id_old (x86) 2014-06-16 04:55:26 +02:00
i82374.c
Makefile.objs
omap_dma.c hw: Fix qemu_allocate_irqs() leaks 2014-06-30 21:13:30 +02:00
pl080.c
pl330.c
puv3_dma.c
pxa2xx_dma.c
rc4030.c
soc_dma.c
sparc32_dma.c
sun4m_iommu.c
xilinx_axidma.c hw/dma/xilinx_axidma: Remove unused stream_halted() function 2014-06-10 19:39:34 +04:00