1
0
Fork 0
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:
Peter Howkins 2018-07-04 23:45:56 +01:00
parent 8f2b74aa6d
commit 801c7d36c6

View file

@ -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);