From: Wei Liu Subject: Re: [OPW PATCH 4/4] tools/xl:Call init and dispose function for libxl_dominfo Date: Tue, 21 Oct 2014 14:57:35 +0100 Message-ID: <20141021135735.GF10234@zion.uk.xensource.com> References: <544583e4.c8e7420a.6486.ffffb2da@mx.google.com> <20141021125957.GB10234@zion.uk.xensource.com> <20141021133043.GE10234@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Uma Sharma Cc: George Dunlap , Ian.Jackson@citrix.com, Wei Liu , Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Tue, Oct 21, 2014 at 07:11:53PM +0530, Uma Sharma wrote: > I was thinking to call _dispose at all the relevant exit sections of > main_list instead calling at the end so that I can avoid calling > _dispose twice on info_buf. > Will that work? > Not sure what you mean by "exit sections", but keep in mind that info is used by list_domains / list_domains_details, the way you described doesn't look right either. You might need to spend some time disentangle that function first. Wei.