mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-06 13:29:59 -05:00
coverity fixes
This commit is contained in:
parent
0f4f48d377
commit
df20aa2a1e
5 changed files with 8 additions and 3 deletions
|
|
@ -559,6 +559,8 @@ int snd_device_name_hint(int card, const char *iface, void ***hints)
|
|||
if (err < 0)
|
||||
return err;
|
||||
err = snd_config_copy(&local_config_rw, local_config);
|
||||
if (err < 0)
|
||||
return err;
|
||||
list.list = NULL;
|
||||
list.count = list.allocated = 0;
|
||||
list.siface = iface;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue