diff options
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r-- | arch/x86/kvm/x86.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 9b0758b4d550..322c2c5f9bc4 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c | |||
@@ -5547,6 +5547,7 @@ void kvm_arch_destroy_vm(struct kvm *kvm) | |||
5547 | put_page(kvm->arch.apic_access_page); | 5547 | put_page(kvm->arch.apic_access_page); |
5548 | if (kvm->arch.ept_identity_pagetable) | 5548 | if (kvm->arch.ept_identity_pagetable) |
5549 | put_page(kvm->arch.ept_identity_pagetable); | 5549 | put_page(kvm->arch.ept_identity_pagetable); |
5550 | cleanup_srcu_struct(&kvm->srcu); | ||
5550 | kfree(kvm->arch.aliases); | 5551 | kfree(kvm->arch.aliases); |
5551 | kfree(kvm); | 5552 | kfree(kvm); |
5552 | } | 5553 | } |