[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Free d->mem_event on domain destruction.



# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1322665961 28800
# Node ID 08716a7f1b7426864615460760cc076e99555e0a
# Parent  2cbc53a24683ea7f3b22e5d4f137cd8f1cc615a3
Free d->mem_event on domain destruction.

Signed-off-by: Keir Fraser <keir@xxxxxxx>
---


diff -r 2cbc53a24683 -r 08716a7f1b74 xen/common/domain.c
--- a/xen/common/domain.c       Wed Nov 30 07:08:53 2011 -0800
+++ b/xen/common/domain.c       Wed Nov 30 07:12:41 2011 -0800
@@ -668,6 +668,8 @@
     /* 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 )
         {

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.