dtcm: Coverity 88871
This commit is contained in:
@@ -401,9 +401,10 @@ _DtCmsGetEntryAttrByKey(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (entry_r)
|
if (entry_r) {
|
||||||
|
free(res);
|
||||||
stat = _DtCmsGetCmsEntryForClient(entry, entry_r,B_FALSE);
|
stat = _DtCmsGetCmsEntryForClient(entry, entry_r,B_FALSE);
|
||||||
else {
|
} else {
|
||||||
if (num_names == 0)
|
if (num_names == 0)
|
||||||
stat = _GetAllEntryAttrs(entry, &res->num_attrs,
|
stat = _GetAllEntryAttrs(entry, &res->num_attrs,
|
||||||
&res->attrs);
|
&res->attrs);
|
||||||
|
|||||||
Reference in New Issue
Block a user