[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-4.2-testing] x86/hap: Fix memory leak of domain->arch.hvm_domain.dirty_vram
# HG changeset patch # User Kouya Shimura <kouya@xxxxxxxxxxxxxx> # Date 1354788718 -3600 # Node ID 1206a35266733ee3dcca1a9f4d341a4b98d1e49d # Parent 8194979b8104f8a2f539dc5289bb2316fcdbf571 x86/hap: Fix memory leak of domain->arch.hvm_domain.dirty_vram Signed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx> Signed-off-by: Tim Deegan <tim@xxxxxxx> xen-unstable changeset: 26203:b5cb6cccc32c xen-unstable date: Thu Nov 29 11:01:00 UTC 2012 --- diff -r 8194979b8104 -r 1206a3526673 xen/arch/x86/mm/hap/hap.c --- a/xen/arch/x86/mm/hap/hap.c Thu Dec 06 11:10:15 2012 +0100 +++ b/xen/arch/x86/mm/hap/hap.c Thu Dec 06 11:11:58 2012 +0100 @@ -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; + paging_unlock(d); } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |