Skip to contentSkip to conversation

mixer : fixed double free

PATCH Takashi Iwai 1 participant 1 message Sep 22, 2014 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

At Fri, 19 Sep 2014 10:21:10 +0000 (GMT),

Quoted 7 lines · Renu Tyagi

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

Quoted 24 lines

---
src/mixer/mixer.c | 4 +---

1 files changed, 1 insertions(+), 3 deletions(-)
src/mixer/mixer.c +1 -4
index 56e023d..eee9875 100644
@@ -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 <application/octet-stream (base64)>]