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:
parent
207678795b
commit
71bbe17321
1 changed files with 3 additions and 2 deletions
|
@ -372,9 +372,10 @@ _DtCmsGetEntryAttrByKey(
|
||||||
else
|
else
|
||||||
stat = CSA_E_NO_AUTHORITY;
|
stat = CSA_E_NO_AUTHORITY;
|
||||||
|
|
||||||
if (entry_r)
|
if (entry_r) {
|
||||||
|
free(res);
|
||||||
return (stat);
|
return (stat);
|
||||||
else {
|
} else {
|
||||||
res->stat = stat;
|
res->stat = stat;
|
||||||
*res_r = res;
|
*res_r = res;
|
||||||
return (CSA_SUCCESS);
|
return (CSA_SUCCESS);
|
||||||
|
|
Loading…
Reference in a new issue