restconf bugs and increased restconf testing
This commit is contained in:
parent
496d676ad3
commit
8b6bb6ff50
5 changed files with 39 additions and 32 deletions
|
|
@ -988,8 +988,10 @@ xpath_each(cxobj *xcur,
|
|||
int i;
|
||||
|
||||
if (xprev == NULL){
|
||||
if (vec1) // XXX
|
||||
free(vec1); // XXX
|
||||
if (vec1) {
|
||||
free(vec1);
|
||||
vec1 = NULL;
|
||||
}
|
||||
vec1len = 0;
|
||||
if (xpath_choice(xcur, xpath, 0, &vec1, &vec1len) < 0)
|
||||
goto done;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue