From: Peter Howkins Date: Fri, 13 Jul 2018 17:55:47 +0000 (+0100) Subject: dtcm: Coverity 88056 X-Git-Tag: 2.3.0a~76 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6826ecc3d3408c71cc32f10d8186de33ee0de04f;p=oweals%2Fcde.git dtcm: Coverity 88056 --- diff --git a/cde/programs/dtcm/dtcm/group_editor.c b/cde/programs/dtcm/dtcm/group_editor.c index 77cb115d..82fe3364 100644 --- a/cde/programs/dtcm/dtcm/group_editor.c +++ b/cde/programs/dtcm/dtcm/group_editor.c @@ -730,6 +730,10 @@ ge_insert_proc(Widget w, XtPointer client_data, XtPointer data) { ad = (Access_data *) CmDataListGetData(ge->access_data, c_list[i]); + if(NULL == ad) { + _DtTurnOffHourGlass(ge->frame); + return; + } /* it may seem a little odd to create this template appointment over and over again, but this