1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

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