dtcm: Coverity 88871
This commit is contained in:
@@ -372,9 +372,10 @@ _DtCmsGetEntryAttrByKey(
|
|||||||
else
|
else
|
||||||
stat = CSA_E_NO_AUTHORITY;
|
stat = CSA_E_NO_AUTHORITY;
|
||||||
|
|
||||||
if (entry_r)
|
if (entry_r) {
|
||||||
|
free(res);
|
||||||
return (stat);
|
return (stat);
|
||||||
else {
|
} else {
|
||||||
res->stat = stat;
|
res->stat = stat;
|
||||||
*res_r = res;
|
*res_r = res;
|
||||||
return (CSA_SUCCESS);
|
return (CSA_SUCCESS);
|
||||||
|
|||||||
Reference in New Issue
Block a user