Commit f411930442e01f9cf1bf4df41ff7e89476575c4d

Authored by Xiao Guangrong
Committed by Marcelo Tosatti
1 parent 326cf0334b

KVM: fix fault page leak

fault_page is forgot to be freed

Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

... ... @@ -2845,6 +2845,7 @@
2845 2845 kvm_arch_hardware_unsetup();
2846 2846 kvm_arch_exit();
2847 2847 free_cpumask_var(cpus_hardware_enabled);
  2848 + __free_page(fault_page);
2848 2849 __free_page(hwpoison_page);
2849 2850 __free_page(bad_page);
2850 2851 }