aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenstat/xentop
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-04-02 13:08:05 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-04-02 13:08:05 +0100
commiteeafc64a2aee8bb51f380e9a3226855abaa3feb9 (patch)
tree168e1cac0ad978d9d9bee3cf9c21fd5cfaff2e6c /tools/xenstat/xentop
parentc6c944eabd1afe0e966611c0205543da35602a85 (diff)
downloadxen-eeafc64a2aee8bb51f380e9a3226855abaa3feb9.tar.gz
xen-eeafc64a2aee8bb51f380e9a3226855abaa3feb9.tar.bz2
xen-eeafc64a2aee8bb51f380e9a3226855abaa3feb9.zip
xentop: Fix memory leak.
Signed-off-by: Atsushi SAKAI <sakaia@jp.fujitsu.com>
Diffstat (limited to 'tools/xenstat/xentop')
-rw-r--r--tools/xenstat/xentop/xentop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/xenstat/xentop/xentop.c b/tools/xenstat/xentop/xentop.c
index faff532bfa..2bb28205f6 100644
--- a/tools/xenstat/xentop/xentop.c
+++ b/tools/xenstat/xentop/xentop.c
@@ -984,6 +984,8 @@ static void top(void)
if(!batch)
do_bottom_line();
+
+ free(domains);
}
int main(int argc, char **argv)