diff options
author | 2020-04-14 11:03:48 +0800 | |
---|---|---|
committer | 2020-04-23 16:26:56 +0100 | |
commit | 57bdb436ce869a45881d8aa4bc5dac8e072dd2b6 (patch) | |
tree | c3ef73b2a34540ec32b1195025b0f8a5d18ed4d3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: arm64: vgic-v3: Retire all pending LPIs on vcpu destroy (diff) | |
download | linux-rng-57bdb436ce869a45881d8aa4bc5dac8e072dd2b6.tar.xz linux-rng-57bdb436ce869a45881d8aa4bc5dac8e072dd2b6.zip |
KVM: arm64: vgic-its: Fix memory leak on the error path of vgic_add_lpi()
If we're going to fail out the vgic_add_lpi(), let's make sure the
allocated vgic_irq memory is also freed. Though it seems that both
cases are unlikely to fail.
Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200414030349.625-3-yuzenghui@huawei.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions