mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-02 09:01:48 -05:00
ucm: fix possible memory leak in parse_verb_file()
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
b62f66442b
commit
437b5b3aae
1 changed files with 1 additions and 1 deletions
|
|
@ -1575,7 +1575,7 @@ static int parse_verb_file(snd_use_case_mgr_t *uc_mgr,
|
||||||
/* in-place evaluation */
|
/* in-place evaluation */
|
||||||
err = uc_mgr_evaluate_inplace(uc_mgr, cfg);
|
err = uc_mgr_evaluate_inplace(uc_mgr, cfg);
|
||||||
if (err < 0)
|
if (err < 0)
|
||||||
return err;
|
goto _err;
|
||||||
|
|
||||||
/* parse master config sections */
|
/* parse master config sections */
|
||||||
snd_config_for_each(i, next, cfg) {
|
snd_config_for_each(i, next, cfg) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue