From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Jackson Subject: Re: [PATCH v3 04/10] libxl: avoid leaking in libxl__initia_device_remove Date: Tue, 14 Jul 2015 18:21:42 +0100 Message-ID: <21925.17702.234481.326072@mariner.uk.xensource.com> References: <1436892073-14186-1-git-send-email-wei.liu2@citrix.com> <1436892073-14186-5-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZF3tx-0006h9-Fq for xen-devel@lists.xenproject.org; Tue, 14 Jul 2015 17:21:53 +0000 In-Reply-To: <1436892073-14186-5-git-send-email-wei.liu2@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: Wei Liu Cc: Xen-devel , Ian Campbell List-Id: xen-devel@lists.xenproject.org Wei Liu writes ("[PATCH v3 04/10] libxl: avoid leaking in libxl__initia_device_remove"): > Change "return" to "goto out_success" to correctly dispose of the > structure. Acked-by: Ian Jackson