x86/hap: Fix memory leak of domain->arch.hvm_domain.dirty_vram

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
Signed-off-by: Tim Deegan <tim@xen.org>
xen-unstable changeset: 26203:b5cb6cccc32c
xen-unstable date: Thu Nov 29 11:01:00 UTC 2012
This commit is contained in:
Kouya Shimura committed 2012-12-06 11:13:00 +01:00
1 parent 26ba0fdab7
commit 3fca800894
1 file changed
+3
+3
View File
@@ -686,6 +686,9 @@ void hap_teardown(struct domain *d)
d->arch.paging.mode &= ~PG_log_dirty;
xfree(d->arch.hvm_domain.dirty_vram);
d->arch.hvm_domain.dirty_vram = NULL;
hap_unlock(d);
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.