From: Wei Liu Subject: Re: [PATCH for-4.6 07/13] xl: call libxl_dominfo_{init, dispose} in main_cpupoolnumasplit Date: Thu, 23 Jul 2015 11:34:44 +0100 Message-ID: <20150723103444.GK16933@zion.uk.xensource.com> References: <1437638354-14216-1-git-send-email-wei.liu2@citrix.com> <1437638354-14216-8-git-send-email-wei.liu2@citrix.com> <1437644500.19412.77.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZIDpy-00081w-6h for xen-devel@lists.xenproject.org; Thu, 23 Jul 2015 10:34:50 +0000 Content-Disposition: inline In-Reply-To: <1437644500.19412.77.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Xen-devel , Wei Liu , Ian Jackson List-Id: xen-devel@lists.xenproject.org On Thu, Jul 23, 2015 at 10:41:40AM +0100, Ian Campbell wrote: > On Thu, 2015-07-23 at 08:59 +0100, Wei Liu wrote: > > Signed-off-by: Wei Liu > > info here seems to be used in a loop, without any init or free. I think > the init should be moved there, and the looping case needs a dispose, > with only the final one being left until the end. > Indeed, I will look into fixing that. > (that loop looks a bit odd to me, but that's independent...)