mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Added initialization of destination
This commit is contained in:
parent
10f3957571
commit
5912f56e53
1 changed files with 1 additions and 0 deletions
|
|
@ -590,6 +590,7 @@ int snd_sctl_build(snd_sctl_t **sctl, snd_ctl_t *handle, snd_config_t *conf, snd
|
|||
assert(sctl);
|
||||
assert(handle);
|
||||
assert(conf);
|
||||
*sctl = NULL;
|
||||
if (snd_config_get_type(conf) != SND_CONFIG_TYPE_COMPOUND)
|
||||
return -EINVAL;
|
||||
h = calloc(1, sizeof(*h));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue