[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86/hap: Fix memory leak of domain->arch.hvm_domain.dirty_vram
# HG changeset patch # User Tim Deegan <tim@xxxxxxx> # Date 1354186860 0 # Node ID b5cb6cccc32c63b2319a1ab4ba5360fa93b719ec # Parent 9c6c13bf380355d6814d60f8b2da308cee07a15a 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> Committed-by: Tim Deegan <tim@xxxxxxx> --- diff -r 9c6c13bf3803 -r b5cb6cccc32c xen/arch/x86/mm/hap/hap.c --- a/xen/arch/x86/mm/hap/hap.c Thu Nov 29 10:49:53 2012 +0000 +++ b/xen/arch/x86/mm/hap/hap.c Thu Nov 29 11:01:00 2012 +0000 @@ -567,6 +567,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 |