From: Takashi Iwai Subject: Re: [Patch] Memory leak in sound/pcmcia/pdaudiocf/pdaudiocf.c Date: Wed, 12 Apr 2006 12:58:48 +0200 Message-ID: References: <1144835885.9011.4.camel@alice> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from mx1.suse.de (ns1.suse.de [195.135.220.2]) by alsa.jcu.cz (ALSA's E-mail Delivery System) with ESMTP id A3024E3 for ; Wed, 12 Apr 2006 12:58:59 +0200 (MEST) In-Reply-To: <1144835885.9011.4.camel@alice> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Eric Sesterhenn Cc: alsa-devel@alsa-project.org, perex@suse.cz List-Id: alsa-devel@alsa-project.org At Wed, 12 Apr 2006 11:58:05 +0200, Eric Sesterhenn wrote: > > hi, > > if one of the first three CS_CHECKS fails, we goto cs_failed: > In this case parse we donr kfree() parse. Since the the last three > CS_CHECKS might also fail, i moved the kfree() below all the CS_CHECKs > and added one in the error path. This fixes coverity bug id #1099 > > Signed-off-by: Eric Sesterhenn Thanks, applied to ALSA tree now. Takashi ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642