[alsa-devel] [PATCH 3/11] sbase : fixed missing free
Renu Tyagi
renu.tyagi at samsung.com
Fri Sep 19 12:23:07 CEST 2014
Signed-off-by: renu tyagi
---
modules/mixer/simple/sbase.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/mixer/simple/sbase.c b/modules/mixer/simple/sbase.c
index 97feee8..bb2f59d 100644
--- a/modules/mixer/simple/sbase.c
+++ b/modules/mixer/simple/sbase.c
@@ -377,6 +377,7 @@ static int simple_event_add1(snd_mixer_class_t *class,
if (ctype != SND_CTL_ELEM_TYPE_BOOLEAN) {
__invalid_type:
snd_mixer_selem_id_free(id);
+ free(hsimple);
return -EINVAL;
}
break;
--
1.7.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_3.patch
Type: application/octet-stream
Size: 569 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20140919/a1d9270e/attachment.obj>
More information about the Alsa-devel
mailing list