mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
dtcm: Coverity 88383
This commit is contained in:
parent
70e5a9f044
commit
e18054a5da
1 changed files with 2 additions and 1 deletions
|
@ -2974,7 +2974,7 @@ x_print_list_range(Calendar *c, CSA_sint32 appt_type, int item_data,
|
||||||
CSA_return_code stat;
|
CSA_return_code stat;
|
||||||
CSA_entry_handle *list;
|
CSA_entry_handle *list;
|
||||||
CSA_attribute *range_attrs;
|
CSA_attribute *range_attrs;
|
||||||
CSA_enum *ops;
|
CSA_enum *ops = NULL;
|
||||||
int i;
|
int i;
|
||||||
CSA_uint32 a_total;
|
CSA_uint32 a_total;
|
||||||
|
|
||||||
|
@ -3009,6 +3009,7 @@ x_print_list_range(Calendar *c, CSA_sint32 appt_type, int item_data,
|
||||||
0, B_FALSE, c->general->version);
|
0, B_FALSE, c->general->version);
|
||||||
stat = csa_list_entries(c->cal_handle, i, range_attrs,
|
stat = csa_list_entries(c->cal_handle, i, range_attrs,
|
||||||
ops, &a_total, &list, NULL);
|
ops, &a_total, &list, NULL);
|
||||||
|
free(ops);
|
||||||
if (stat != CSA_SUCCESS) {
|
if (stat != CSA_SUCCESS) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue