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

[Xen-changelog] [xen-unstable] xentop: Fix memory leak.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1175515685 -3600
# Node ID 2adce39bc29447f385db8fe09de4ae1a62f25dd7
# Parent  598d55e3ff2fc9360d27d4dfbf1b3148b2e518e1
xentop: Fix memory leak.
Signed-off-by: Atsushi SAKAI <sakaia@xxxxxxxxxxxxxx>
---
 tools/xenstat/xentop/xentop.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r 598d55e3ff2f -r 2adce39bc294 tools/xenstat/xentop/xentop.c
--- a/tools/xenstat/xentop/xentop.c     Mon Apr 02 13:06:48 2007 +0100
+++ b/tools/xenstat/xentop/xentop.c     Mon Apr 02 13:08:05 2007 +0100
@@ -984,6 +984,8 @@ static void top(void)
 
        if(!batch)
        do_bottom_line();
+
+       free(domains);
 }
 
 int main(int argc, char **argv)

_______________________________________________
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®.