update controller code
This commit is contained in:
parent
2836d196da
commit
41f56fa6ed
54 changed files with 9688 additions and 214 deletions
11
src/lib/utils.c
Executable file → Normal file
11
src/lib/utils.c
Executable file → Normal file
|
|
@ -456,7 +456,7 @@ void free_resval_with_idx_list(xce_val_with_idx_t*** vals,
|
|||
if (val->val->which == Value_u_svalue) {
|
||||
FREEUP(val->val->u.svalue);
|
||||
}
|
||||
|
||||
|
||||
FREEUP(val->val);
|
||||
FREEUP(val);
|
||||
}
|
||||
|
|
@ -465,10 +465,11 @@ void free_resval_with_idx_list(xce_val_with_idx_t*** vals,
|
|||
*vals = NULL;
|
||||
}
|
||||
|
||||
void free_strlist(xce_strlist_t *l) {
|
||||
void free_strlist(xce_strlist_t* l)
|
||||
{
|
||||
int i;
|
||||
|
||||
if ( l == NULL) {
|
||||
|
||||
if (l == NULL) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -476,7 +477,7 @@ void free_strlist(xce_strlist_t *l) {
|
|||
return;
|
||||
}
|
||||
|
||||
for(i = 0; i < l->count; i ++) {
|
||||
for (i = 0; i < l->count; i++) {
|
||||
FREEUP(l->data[i]);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue