mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-03 09:01:52 -05:00
ucm: cosmetic code reshuffle in rval_lookup_main()
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
1237905559
commit
02b234a39c
1 changed files with 4 additions and 5 deletions
|
|
@ -296,16 +296,15 @@ static char *rval_lookup_main(snd_use_case_mgr_t *uc_mgr,
|
|||
break;
|
||||
}
|
||||
}
|
||||
snd_config_delete(config);
|
||||
regfree(&re);
|
||||
fin:
|
||||
snd_config_delete(config);
|
||||
if (iter->done)
|
||||
iter->done(iter);
|
||||
return result;
|
||||
null:
|
||||
if (iter->done)
|
||||
iter->done(iter);
|
||||
snd_config_delete(config);
|
||||
return NULL;
|
||||
result = NULL;
|
||||
goto fin;
|
||||
}
|
||||
|
||||
static struct lookup_iterate *rval_card_lookup1(snd_use_case_mgr_t *uc_mgr,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue