mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
ucm: local_config may be NULL (error path)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
d65b1c7b52
commit
50140120c6
1 changed files with 2 additions and 1 deletions
|
|
@ -743,6 +743,7 @@ void uc_mgr_free_verb(snd_use_case_mgr_t *uc_mgr)
|
|||
|
||||
void uc_mgr_free(snd_use_case_mgr_t *uc_mgr)
|
||||
{
|
||||
if (uc_mgr->local_config)
|
||||
snd_config_delete(uc_mgr->local_config);
|
||||
uc_mgr_free_verb(uc_mgr);
|
||||
uc_mgr_free_ctl_list(uc_mgr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue