Fixes after coverity static analysis
This commit is contained in:
parent
d94b4f5b7c
commit
a1badc312e
24 changed files with 148 additions and 70 deletions
|
|
@ -621,8 +621,11 @@ xp_logop(xp_ctx *xc1,
|
|||
goto done;
|
||||
}
|
||||
*xrp = xr;
|
||||
xr = NULL;
|
||||
retval = 0;
|
||||
done:
|
||||
if (xr)
|
||||
ctx_free(xr);
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
|
@ -684,8 +687,11 @@ xp_numop(xp_ctx *xc1,
|
|||
goto done;
|
||||
}
|
||||
*xrp = xr;
|
||||
xr = NULL;
|
||||
retval = 0;
|
||||
done:
|
||||
if (xr)
|
||||
ctx_free(xr);
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
|
@ -1111,8 +1117,11 @@ xp_union(xp_ctx *xc1,
|
|||
goto done;
|
||||
}
|
||||
*xrp = xr;
|
||||
xr = NULL;
|
||||
retval = 0;
|
||||
done:
|
||||
if (xr)
|
||||
ctx_free(xr);
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue