mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtcm: Coverity 174711
This commit is contained in:
parent
606f7a599d
commit
313bd72e24
1 changed files with 4 additions and 1 deletions
|
@ -1130,11 +1130,14 @@ _GetAccessList(_DtCmsCalendar *cal, int index, cms_attribute *attr)
|
||||||
tmpattr.value = &tmpval;
|
tmpattr.value = &tmpval;
|
||||||
tmpval.type = CSA_VALUE_ACCESS_LIST;
|
tmpval.type = CSA_VALUE_ACCESS_LIST;
|
||||||
|
|
||||||
|
free(alist);
|
||||||
return (_DtCm_copy_cms_attribute(attr, &tmpattr,
|
return (_DtCm_copy_cms_attribute(attr, &tmpattr,
|
||||||
B_TRUE));
|
B_TRUE));
|
||||||
} else
|
} else {
|
||||||
|
free(alist);
|
||||||
return (stat);
|
return (stat);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static CSA_return_code
|
static CSA_return_code
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue