dtcm: Coverity 88871

This commit is contained in:
Peter Howkins
2018-07-13 16:35:47 +01:00
parent 207678795b
commit 71bbe17321

View File

@@ -372,9 +372,10 @@ _DtCmsGetEntryAttrByKey(
else
stat = CSA_E_NO_AUTHORITY;
if (entry_r)
if (entry_r) {
free(res);
return (stat);
else {
} else {
res->stat = stat;
*res_r = res;
return (CSA_SUCCESS);