From: Wei Liu Subject: Re: [PATCH 9/9] xl: use libxl_cpupoolinfo_list_free() in main_cpupoolnumasplit Date: Mon, 9 Mar 2015 11:02:00 +0000 Message-ID: <20150309110200.GL18491@zion.uk.xensource.com> References: <20150306170758.7269.53821.stgit@Solace.station> <20150306172207.7269.13948.stgit@Solace.station> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20150306172207.7269.13948.stgit@Solace.station> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Dario Faggioli Cc: Juergen Gross , Wei Liu , Ian Campbell , Stefano Stabellini , Ian Jackson , Xen-devel List-Id: xen-devel@lists.xenproject.org On Fri, Mar 06, 2015 at 06:22:07PM +0100, Dario Faggioli wrote: > instead manually free the elements of the list, which is > exactly the purpose of the said function. > > Trade also a couple of 'return'-s with 'goto out'-s, which > is more in line with libxl usage paradigm. > > Signed-off-by: Dario Faggioli > Cc: Ian Campbell > Cc: Ian Jackson > Cc: Stefano Stabellini > Cc: Wei Liu > Cc: Juergen Gross Acked-by: Wei Liu