Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f4119304 authored by Xiao Guangrong's avatar Xiao Guangrong Committed by Marcelo Tosatti
Browse files

KVM: fix fault page leak



fault_page is forgot to be freed

Signed-off-by: default avatarXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: default avatarMarcelo Tosatti <mtosatti@redhat.com>
parent 326cf033
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -2845,6 +2845,7 @@ void kvm_exit(void)
	kvm_arch_hardware_unsetup();
	kvm_arch_hardware_unsetup();
	kvm_arch_exit();
	kvm_arch_exit();
	free_cpumask_var(cpus_hardware_enabled);
	free_cpumask_var(cpus_hardware_enabled);
	__free_page(fault_page);
	__free_page(hwpoison_page);
	__free_page(hwpoison_page);
	__free_page(bad_page);
	__free_page(bad_page);
}
}