UCM: comment fixes and fix myvalue initialization fix in add_values()

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2011-03-19 00:54:43 +01:00
parent ae0a44c628
commit 60397387ef
2 changed files with 30 additions and 20 deletions

View file

@ -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);
}
}