On Fri, Dec 04, 2020 at 03:58:22PM +0800, Gan Qixin wrote:
> When running qom-test, a memory leak occurred in the ppce500_init function,
> this patch free irqs array to fix it.
>
> ASAN shows memory leak stack:
>
> Direct leak of 40 byte(s) in 1 object(s) allocated from:
> #0 0xfffc5ceee1f0 i
When running qom-test, a memory leak occurred in the ppce500_init function,
this patch free irqs array to fix it.
ASAN shows memory leak stack:
Direct leak of 40 byte(s) in 1 object(s) allocated from:
#0 0xfffc5ceee1f0 in __interceptor_calloc (/lib64/libasan.so.5+0xee1f0)
#1 0xfffc5c80680