Skip to content
Snippets Groups Projects
Commit e48bb497 authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: MMU: Fix memory leak on guest demand faults


While backporting 72dc67a6, a gfn_to_page()
call was duplicated instead of moved (due to an unrelated patch not being
present in mainline).  This caused a page reference leak, resulting in a
fairly massive memory leak.

Fix by removing the extraneous gfn_to_page() call.

Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent 707a18a5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment