[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] KVM: GIC: Fix memory leak due to calling kvm_in
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [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