Peter Maydell 1bbd6272a1 hw/ppc/mac_newworld: Free openpic_irqs array after use
In ppc_core99_init(), we allocate an openpic_irqs array, which
we then use to collect up the various qemu_irqs which we're
going to connect to the interrupt controller. Once we've
called sysbus_connect_irq() to connect them all up, the
array is no longer required, but we forgot to free it.

Since board init is only run once at startup, the memory
leak is not a significant one.

Spotted by Coverity: CID 1192916.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2018-11-08 12:04:40 +11:00
..
2018-09-24 18:49:11 +01:00
2018-11-02 14:03:33 +00:00
2018-10-25 20:17:12 +01:00
2018-10-29 12:59:15 +00:00
2018-10-24 06:44:59 -03:00
2018-10-24 06:44:59 -03:00
2018-11-05 13:24:02 -05:00
2016-01-29 15:07:25 +00:00
2018-08-18 18:01:34 +03:00
2018-11-05 09:55:01 +01:00
2018-10-26 17:17:32 +02:00