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:
82f2914
)
dtcm: Coverity 89273
author
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Jul 2018 22:55:29 +0000
(23:55 +0100)
committer
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Jul 2018 22:55:29 +0000
(23:55 +0100)
cde/programs/dtcm/libDtCmP/cm_tty.c
patch
|
blob
|
history
diff --git
a/cde/programs/dtcm/libDtCmP/cm_tty.c
b/cde/programs/dtcm/libDtCmP/cm_tty.c
index 588f4e5a83a8dd356e7c201f935c81344eaf62d8..a18a457089a17dd330dbf8d33da61db41cdafac6 100644
(file)
--- a/
cde/programs/dtcm/libDtCmP/cm_tty.c
+++ b/
cde/programs/dtcm/libDtCmP/cm_tty.c
@@
-1633,10
+1633,11
@@
parse_appt_from_file(nl_catd catd, char *file, CmDataList *list, Props *p,
valid_op = validate_appt(catd, appt, s_buf, e_buf, d_buf, dur,
w_buf, r_buf, f_buf, query, key_data,
version);
- if (w_buf)
- free(w_buf);
}
+ free(w_buf);
+
+
scrub_attr_list(appt);
fclose(fp);