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:
03d009d
)
dtcm: Coverity 87931
author
Peter Howkins
<flibble@users.sf.net>
Fri, 13 Jul 2018 16:34:42 +0000
(17:34 +0100)
committer
Peter Howkins
<flibble@users.sf.net>
Fri, 13 Jul 2018 16:34:42 +0000
(17:34 +0100)
cde/programs/dtcm/dtcm/group_editor.c
patch
|
blob
|
history
diff --git
a/cde/programs/dtcm/dtcm/group_editor.c
b/cde/programs/dtcm/dtcm/group_editor.c
index 5e2a8046790c8a64428b4e31b45ccf2356cab3be..c0517861ca96b2d83e95bf5170e9089c8f1ddf7c 100644
(file)
--- a/
cde/programs/dtcm/dtcm/group_editor.c
+++ b/
cde/programs/dtcm/dtcm/group_editor.c
@@
-1901,7
+1901,7
@@
remove_all_gaccess_data(GEditor *ge) {
step = (Access_data *)CmDataListGetData(ge->access_data, i);
if (step && step->name)
free(step->name);
- if (step->appt_head && step->appt_count >= 0)
+ if (step
&& step
->appt_head && step->appt_count >= 0)
csa_free(step->appt_head);
step->appt_head = NULL;
step->appt_count = 0;