From: Takashi Iwai Subject: Re: [alsa-cvslog] alsa-kernel: Official ALSA project GIT repository for Linux 2.6 branch, master now at v2.6.27-rc3-74-g027ee62 Date: Fri, 15 Aug 2008 12:46:01 +0200 Message-ID: References: <20080815103920.39D00245AF@alsa0.perex.cz> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id C31A824597 for ; Fri, 15 Aug 2008 12:46:01 +0200 (CEST) In-Reply-To: <20080815103920.39D00245AF@alsa0.perex.cz> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: perex@perex.cz Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Fri, 15 Aug 2008 12:39:19 +0200 (CEST), noreply-git@alsa-project.org wrote: > > @@ -362,10 +363,8 @@ static int snd_card_dummy_playback_open(struct snd_pcm_substream *substream) > } > if (substream->pcm->device & 2) > runtime->hw.info &= ~(SNDRV_PCM_INFO_MMAP|SNDRV_PCM_INFO_MMAP_VALID); > - if ((err = add_playback_constraints(runtime)) < 0) { > - kfree(dpcm); > + if ((err = add_playback_constraints(runtime)) < 0) > return err; > - } Run checkpatch.pl please... Takashi