dtcm: Coverity 89641
This commit is contained in:
@@ -2973,7 +2973,7 @@ x_print_list_range(Calendar *c, CSA_sint32 appt_type, int item_data,
|
||||
time_t start, end;
|
||||
CSA_return_code stat;
|
||||
CSA_entry_handle *list;
|
||||
CSA_attribute *range_attrs;
|
||||
CSA_attribute *range_attrs = NULL;
|
||||
CSA_enum *ops = NULL;
|
||||
int i;
|
||||
CSA_uint32 a_total;
|
||||
@@ -3010,6 +3010,7 @@ x_print_list_range(Calendar *c, CSA_sint32 appt_type, int item_data,
|
||||
stat = csa_list_entries(c->cal_handle, i, range_attrs,
|
||||
ops, &a_total, &list, NULL);
|
||||
free(ops);
|
||||
free(range_attrs);
|
||||
if (stat != CSA_SUCCESS) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user