From: Ian Campbell Subject: Re: [PATCH] libxl: fix cleanup of tap devices in libxl__device_destroy Date: Thu, 2 Aug 2012 10:45:22 +0100 Message-ID: <1343900722.27221.107.camel@zakaz.uk.xensource.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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: "xen-devel@lists.xen.org" Cc: Greg Wettstein , Ian Jackson , Roger Pau Monne List-Id: xen-devel@lists.xenproject.org > rc = libxl__xs_transaction_start(gc, &t); > if (rc) goto out; > > + /* May not exist if this is not a tap device */ > + tapdisk_params = libxl__xs_read(gc, t, tapdisk_path); > + > libxl__xs_path_cleanup(gc, t, fe_path); > libxl__xs_path_cleanup(gc, t, be_path); Do we deliberate ignore the error codes from these two? Ian.