Am Fri, 20 Nov 2020 17:23:14 +0000
schrieb Peter Maydell <[email protected]>:

> Coverity points out that the realize function for the
> TYPE_MCF5206_MBAR device leaks the IRQ array it allocates with
> qemu_allocate_irqs(). Keep a pointer to it in the device state struct
> to avoid the leak. (Since it needs to stay around for the life of the
> simulation there is no need to actually free it, and the leak was
> harmless.)
> 
> Fixes: Coverity CID 1432412
> Signed-off-by: Peter Maydell <[email protected]>

Reviewed-by: Thomas Huth <[email protected]>

Reply via email to