From 6826ecc3d3408c71cc32f10d8186de33ee0de04f Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Fri, 13 Jul 2018 18:55:47 +0100 Subject: [PATCH] dtcm: Coverity 88056 --- cde/programs/dtcm/dtcm/group_editor.c | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.25.1