From: Takashi Iwai Subject: Re: [PATCH 1/11] mixer : fixed double free Date: Mon, 22 Sep 2014 09:13:41 +0200 Message-ID: References: <38.34.04938.6930C145@epcpsbgx1.samsung.com> 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 (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 17726265041 for ; Mon, 22 Sep 2014 09:13:43 +0200 (CEST) In-Reply-To: <38.34.04938.6930C145@epcpsbgx1.samsung.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: renu.tyagi@samsung.com Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Fri, 19 Sep 2014 10:21:10 +0000 (GMT), Renu Tyagi wrote: > > Hi, > Ignore previous patches. Resubmiting patch series. > > ------------------------------------------------------------------------ > > Signed-off-by: renu tyagi The mail address has to be provided in the sign-off line together with your name. And usually, it's "Renu Tyagi", not "renu tyagi". If you prefer the latter form, I can take it so, though. Also, the patch series should be shown like "01/11", not "1/11", to align with the rest. You may try git-send-email for submitting a series of patches. This will do most of things right. thanks, Takashi > --- > src/mixer/mixer.c | 4 +--- > 1 files changed, 1 insertions(+), 3 deletions(-) > > diff --git a/src/mixer/mixer.c b/src/mixer/mixer.c > index 56e023d..eee9875 100644 > --- a/src/mixer/mixer.c > +++ b/src/mixer/mixer.c > @@ -204,10 +204,8 @@ int snd_mixer_attach(snd_mixer_t *mixer, const char *name) > if (err < 0) > return err; > err = snd_mixer_attach_hctl(mixer, hctl); > - if (err < 0) { > - snd_hctl_close(hctl); > + if (err < 0) > return err; > - } > return 0; > } > > -- > 1.7.1 > [2 patch_1.patch ] >