datastore upgrade bugs
This commit is contained in:
parent
cdd22bc33d
commit
fa257ebb88
4 changed files with 24 additions and 12 deletions
|
|
@ -265,7 +265,6 @@ text_read_modstate(clicon_handle h,
|
|||
goto done;
|
||||
}
|
||||
}
|
||||
continue; /* ignore other tags, such as module-set-id */
|
||||
if (strcmp(xml_name(xm), "module"))
|
||||
continue; /* ignore other tags, such as module-set-id */
|
||||
if ((name = xml_find_body(xm, "name")) == NULL)
|
||||
|
|
|
|||
|
|
@ -373,6 +373,10 @@ xp_eval_step(xp_ctx *xc0,
|
|||
if (cxvec_append(x, &xc->xc_nodeset, &xc->xc_size) < 0)
|
||||
goto done;
|
||||
}
|
||||
if (vec){
|
||||
free(vec);
|
||||
vec = NULL;
|
||||
}
|
||||
break;
|
||||
case A_DESCENDANT:
|
||||
for (i=0; i<xc->xc_size; i++){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue