From: Peter Howkins Date: Fri, 13 Jul 2018 16:37:55 +0000 (+0100) Subject: dtcm: Coverity 174713 X-Git-Tag: 2.3.0a~117 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=801ed535e13cf7b66abbad250c599172b930afd4;p=oweals%2Fcde.git dtcm: Coverity 174713 --- diff --git a/cde/programs/dtcm/dtcm/props_pu.c b/cde/programs/dtcm/dtcm/props_pu.c index b3b0f5cf..999d1a5b 100644 --- a/cde/programs/dtcm/dtcm/props_pu.c +++ b/cde/programs/dtcm/dtcm/props_pu.c @@ -2136,7 +2136,7 @@ p_save_changes(Calendar *c) { if (redisplay_mask & PROPS_REDO_EDITORS) { - if (((Editor *) c->editor)->base_form_mgr) { + if (c->editor && ((Editor *) c->editor)->base_form_mgr) { Editor *e = (Editor *) c->editor; DSSW *dssw = &((Editor *) c->editor)->dssw;