projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70e5a9f
)
dtcm: Coverity 88383
author
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Jul 2018 22:40:58 +0000
(23:40 +0100)
committer
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Jul 2018 22:40:58 +0000
(23:40 +0100)
cde/programs/dtcm/dtcm/x_graphics.c
patch
|
blob
|
history
diff --git
a/cde/programs/dtcm/dtcm/x_graphics.c
b/cde/programs/dtcm/dtcm/x_graphics.c
index 130d69fd81996e1bf7cba844ecc8482c4b6f57b2..1125a982025cbf0e9dd8655e44f864196e23f531 100644
(file)
--- a/
cde/programs/dtcm/dtcm/x_graphics.c
+++ b/
cde/programs/dtcm/dtcm/x_graphics.c
@@
-2974,7
+2974,7
@@
x_print_list_range(Calendar *c, CSA_sint32 appt_type, int item_data,
CSA_return_code stat;
CSA_entry_handle *list;
CSA_attribute *range_attrs;
- CSA_enum *ops;
+ CSA_enum *ops
= NULL
;
int i;
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);
stat = csa_list_entries(c->cal_handle, i, range_attrs,
ops, &a_total, &list, NULL);
+ free(ops);
if (stat != CSA_SUCCESS) {
return;
}