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:
801ed53
)
dtcm: Coverity 174819
author
Peter Howkins
<flibble@users.sf.net>
Fri, 13 Jul 2018 16:39:03 +0000
(17:39 +0100)
committer
Peter Howkins
<flibble@users.sf.net>
Fri, 13 Jul 2018 16:39:03 +0000
(17:39 +0100)
cde/programs/dtcm/dtcm/props_pu.c
patch
|
blob
|
history
diff --git
a/cde/programs/dtcm/dtcm/props_pu.c
b/cde/programs/dtcm/dtcm/props_pu.c
index 999d1a5b353047cdfbc059418cfb1e403dc84de6..6315fb23dbd2531888aff8fe793744ca2969c5ef 100644
(file)
--- a/
cde/programs/dtcm/dtcm/props_pu.c
+++ b/
cde/programs/dtcm/dtcm/props_pu.c
@@
-2159,7
+2159,7
@@
p_save_changes(Calendar *c) {
}
- if (((ToDo *) c->todo)->base_form_mgr) {
+ if (
c->todo &&
((ToDo *) c->todo)->base_form_mgr) {
ToDo *t = (ToDo *)c->todo;
DSSW *dssw = &((ToDo *) c->todo)->dssw;