mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-01 22:58:49 -04:00
UCM: comment fixes and fix myvalue initialization fix in add_values()
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
ae0a44c628
commit
60397387ef
2 changed files with 30 additions and 20 deletions
|
|
@ -858,6 +858,7 @@ static int add_values(struct list_head *list,
|
|||
val = malloc(sizeof(struct myvalue));
|
||||
if (val == NULL)
|
||||
return -ENOMEM;
|
||||
val->value = v->data;
|
||||
list_add_tail(&val->list, list);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue