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