From: Ian Campbell Subject: Re: [PATCH 14/29] libxl: don't leak xs_read results in libxl__device_nic_from_xs_be Date: Thu, 31 Oct 2013 21:31:54 +0000 Message-ID: <1383255114.5436.146.camel@dagon.hellion.org.uk> References: <1383119525-26033-1-git-send-email-mattjd@gmail.com> <1383119525-26033-15-git-send-email-mattjd@gmail.com> <5270CA3B.6040309@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: 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: Matthew Daley Cc: "xen-devel@lists.xen.org" , Ian Jackson , Stefano Stabellini , Roger Pau =?ISO-8859-1?Q?Monn=E9?= List-Id: xen-devel@lists.xenproject.org On Wed, 2013-10-30 at 22:51 +1300, Matthew Daley wrote: > On Wed, Oct 30, 2013 at 9:58 PM, Roger Pau Monn=E9 = wrote: > > I think the proper way of dealing with this is to use > > libxl__xs_read_checked instead of xs_read, that adds the results to the= gc. > > > = > Indeed, that seems the better way. I'll try to provide a patch which > does this consistently across libxl. Thanks. > This current patch can be > considered dropped if so wanted. Done.