qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-arm] [PATCH] KVM: GIC: Fix memory leak due to calling kvm_init


From: Peter Maydell
Subject: Re: [Qemu-arm] [PATCH] KVM: GIC: Fix memory leak due to calling kvm_init_irq_routing twice
Date: Thu, 31 May 2018 14:56:08 +0100

On 31 May 2018 at 08:16, Shannon Zhao <address@hidden> wrote:
> kvm_irqchip_create called by kvm_init will call kvm_init_irq_routing to
> initialize global capability variables. If we call kvm_init_irq_routing in
> GIC realize function, previous allocated memory will leak.
>
> Fix this by deleting the unnecessary call.
>
> Signed-off-by: Shannon Zhao <address@hidden>



Applied to target-arm.next, thanks.

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]