Fixes after coverity analysis
This commit is contained in:
parent
7b58c1c562
commit
0fff9d8ef5
13 changed files with 43 additions and 24 deletions
|
|
@ -540,8 +540,11 @@ xml_namespace_vec(clixon_handle h,
|
|||
xvec[i++] = xc;
|
||||
}
|
||||
*vecp = xvec;
|
||||
xvec = NULL;
|
||||
*veclenp = i;
|
||||
retval = 0;
|
||||
done:
|
||||
if (xvec)
|
||||
free(xvec);
|
||||
return retval;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue