dtcm: Coverity 88910
This commit is contained in:
@@ -90,7 +90,7 @@ _DtCmsInsertEntry(_DtCmsCalendar *cal, cms_entry *entry)
|
||||
CSA_opaque_data opq;
|
||||
cms_attribute *aptr;
|
||||
RepeatEvent *re = NULL;
|
||||
RepeatEventState *res;
|
||||
RepeatEventState *res = NULL;
|
||||
extern void _DtCm_rule_parser();
|
||||
uint count;
|
||||
int i;
|
||||
@@ -176,6 +176,9 @@ _DtCmsInsertEntry(_DtCmsCalendar *cal, cms_entry *entry)
|
||||
}
|
||||
}
|
||||
|
||||
/* Tidy unused variable */
|
||||
free(res);
|
||||
|
||||
if ((stat = _DtCmsCheckStartEndTime(entry)) != CSA_SUCCESS)
|
||||
return (stat);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user