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:
a690c1f
)
dtcm: Coverity 88137
author
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Jul 2018 22:19:16 +0000
(23:19 +0100)
committer
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Jul 2018 22:19:16 +0000
(23:19 +0100)
cde/programs/dtcm/dtcm/find.c
patch
|
blob
|
history
diff --git
a/cde/programs/dtcm/dtcm/find.c
b/cde/programs/dtcm/dtcm/find.c
index 074a6ce598ca5d4196fcd64fc70bcdbf665770c9..10742709a578f28020f6a4f7d75bdbf9b74e3902 100644
(file)
--- a/
cde/programs/dtcm/dtcm/find.c
+++ b/
cde/programs/dtcm/dtcm/find.c
@@
-548,6
+548,9
@@
fmt_time_what(
lines = text_to_lines(appt->what->value->item.string_value, 1);
if (lines != NULL && lines->s != NULL) {
(void) cm_strcat(buf, lines->s);
+ }
+
+ if (lines != NULL) {
destroy_lines(lines);
}
}