mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtcm: Coverity 88871
This commit is contained in:
parent
8f2b74aa6d
commit
801c7d36c6
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue