Hi Ming:

I have forwarded your mail to the ganglia-developers mailing-list,
perhaps you will get more feedback there.

Cheers,

Bernard

---------- Forwarded message ----------
From: Ming Zhang <blackmagic02...@gmail.com>
Date: Thu, Jul 30, 2009 at 8:41 AM
Subject: [Ganglia-general] question about cleanup_data()
To: ganglia-gene...@lists.sourceforge.net


Hi All

I am reading 3.1.2 code and have a question about cleanup_data().

line 2437, comment is "it might have some stale gmetric data", but in
next line it searches the hash "host->metrics" which holds metadata?

and then in line 2457 and 2458, both hash was cleared, but line 2460
only destroy memory pool hold in metric (which again comment is to
destroy gmetrics but hash is from metrics). so here it will leak one
metrics?

Did I misunderstand something?



Regards

Ming

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ganglia-general mailing list
ganglia-gene...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to