mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
dtcm: Coverity 174711
This commit is contained in:
parent
606f7a599d
commit
313bd72e24
1 changed files with 4 additions and 1 deletions
|
@ -1130,12 +1130,15 @@ _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
|
||||||
_GetCalendarName(_DtCmsCalendar *cal, int index, cms_attribute *attr)
|
_GetCalendarName(_DtCmsCalendar *cal, int index, cms_attribute *attr)
|
||||||
|
|
Loading…
Reference in a new issue