Am Fri, 20 Nov 2020 17:23:14 +0000
schrieb Peter Maydell <peter.mayd...@linaro.org>:

> 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 <peter.mayd...@linaro.org>

Reviewed-by: Thomas Huth <h...@tuxfamily.org>

Reply via email to