From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ewan Mellor Subject: Re: [PATCH] Enable xenstat to use xenstore & fix bugzilla #311 Date: Thu, 27 Oct 2005 16:21:04 +0100 Message-ID: <20051027152104.GY13783@leeni.uk.xensource.com> References: <1130382285.3573.2.camel@thinkpad> <4360E671.3090707@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <4360E671.3090707@us.ibm.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Anthony Liguori Cc: Jerone Young , xen-devel List-Id: xen-devel@lists.xenproject.org On Thu, Oct 27, 2005 at 09:38:41AM -0500, Anthony Liguori wrote: > There's a small memory leak in this. xenstore_read returns a pointer > that must be free()'d by the caller. Just make sure that when the > domain structure is cleaned up that name is free()'d and all should be well. Thanks Anthony, well spotted. I'll patch that. Ewan.