mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
ucm: fix few memory-leaks in the error paths
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
378c6a9215
commit
fc86eafa08
2 changed files with 6 additions and 6 deletions
|
|
@ -1481,8 +1481,8 @@ const char *parse_open_variables(snd_use_case_mgr_t *uc_mgr, const char *name)
|
|||
goto skip;
|
||||
}
|
||||
|
||||
snd_config_delete(cfg);
|
||||
skip:
|
||||
snd_config_delete(cfg);
|
||||
return end + 3;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue