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:
008c224
)
dtcm: Coverity 89369
author
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Jul 2018 22:05:57 +0000
(23:05 +0100)
committer
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Jul 2018 22:05:57 +0000
(23:05 +0100)
cde/programs/dtcm/dtcm/browser.c
patch
|
blob
|
history
diff --git
a/cde/programs/dtcm/dtcm/browser.c
b/cde/programs/dtcm/dtcm/browser.c
index 75fe69a13366133f0d73262e4617d1fd2e616494..f0b60186719274e033207069ec1f01b836dfcbf9 100644
(file)
--- a/
cde/programs/dtcm/dtcm/browser.c
+++ b/
cde/programs/dtcm/dtcm/browser.c
@@
-941,7
+941,11
@@
nt */
scrub_attr_list(appt);
- appointment_buf = parse_attrs_to_string(appt, p, attrs_to_string(appt->attrs, appt->count));
+ {
+ char *attrstring = attrs_to_string(appt->attrs, appt->count);
+ appointment_buf = parse_attrs_to_string(appt, p, attrstring);
+ free(attrstring);
+ }
free_appt_struct(&appt);