From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Hopwood Subject: Re: [PATCH] fix error path handling in physdev Date: Wed, 09 Mar 2005 04:59:46 +0000 Message-ID: <422E82C2.7030906@blueyonder.co.uk> References: <20050309035418.GA23730@granada.merseine.nu> Reply-To: david.nospam.hopwood@blueyonder.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit In-Reply-To: <20050309035418.GA23730@granada.merseine.nu> Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org Muli Ben-Yehuda wrote: + if ( (physdev = xmalloc(phys_dev_t)) == NULL ) { INFO("Error allocating pdev structure.\n"); "Error allocating physical device structure.\n" + goto clear_priviledge; [...] + goto clear_priviledge; [...] +clear_priviledge: clear_privilege. -- David Hopwood ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click