changeset: 24270:08716a7f1b74 user: Keir Fraser date: Wed Nov 30 07:12:41 2011 -0800 files: xen/common/domain.c description: Free d->mem_event on domain destruction. Signed-off-by: Keir Fraser --- xen/common/domain.c | 2 ++ 1 file changed, 2 insertions(+) Index: xen-4.1.2-testing/xen/common/domain.c =================================================================== --- xen-4.1.2-testing.orig/xen/common/domain.c +++ xen-4.1.2-testing/xen/common/domain.c @@ -661,6 +661,8 @@ static void complete_domain_destroy(stru /* Free page used by xen oprofile buffer. */ free_xenoprof_pages(d); + xfree(d->mem_event); + for ( i = d->max_vcpus - 1; i >= 0; i-- ) if ( (v = d->vcpu[i]) != NULL ) free_vcpu_struct(v);