mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
sbase: fixed missing free
Signed-off-by: renu tyagi <renu.tyagi@samsung.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
d37f918795
commit
0ee46280f3
1 changed files with 1 additions and 0 deletions
|
|
@ -377,6 +377,7 @@ static int simple_event_add1(snd_mixer_class_t *class,
|
||||||
if (ctype != SND_CTL_ELEM_TYPE_BOOLEAN) {
|
if (ctype != SND_CTL_ELEM_TYPE_BOOLEAN) {
|
||||||
__invalid_type:
|
__invalid_type:
|
||||||
snd_mixer_selem_id_free(id);
|
snd_mixer_selem_id_free(id);
|
||||||
|
free(hsimple);
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue