diff options
author | Shannon Zhao | 2018-05-31 09:16:34 +0200 |
---|---|---|
committer | Peter Maydell | 2018-05-31 17:32:35 +0200 |
commit | 2f15b79280cf71b7991dfd3f0312a1797630e376 (patch) | |
tree | f5b645728c9e6e164aaae9ec214222dd3ac54a7b /hw/hppa/dino.c | |
parent | ARM: ACPI: Fix use-after-free due to memory realloc (diff) | |
download | qemu-2f15b79280cf71b7991dfd3f0312a1797630e376.tar.gz qemu-2f15b79280cf71b7991dfd3f0312a1797630e376.tar.xz qemu-2f15b79280cf71b7991dfd3f0312a1797630e376.zip |
KVM: GIC: Fix memory leak due to calling kvm_init_irq_routing twice
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 <zhaoshenglong@huawei.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Message-id: 1527750994-14360-1-git-send-email-zhaoshenglong@huawei.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/hppa/dino.c')
0 files changed, 0 insertions, 0 deletions