alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH v2 03/11] sbase : fixed missing free
@ 2014-09-23  4:20 Renu Tyagi
  0 siblings, 0 replies; only message in thread
From: Renu Tyagi @ 2014-09-23  4:20 UTC (permalink / raw)
  To: alsa-devel@alsa-project.org; +Cc: tiwai@suse.de


Signed-off-by: renu tyagi <renu.tyagi@samsung.com>
---
 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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-09-23  4:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-23  4:20 [PATCH v2 03/11] sbase : fixed missing free Renu Tyagi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).