diff --git a/cde/programs/dtcm/server/log.c b/cde/programs/dtcm/server/log.c index 614cb992d..4ccd39250 100644 --- a/cde/programs/dtcm/server/log.c +++ b/cde/programs/dtcm/server/log.c @@ -1301,8 +1301,6 @@ get_date_time_list_string(CSA_date_time_list list) /* do the first one */ sprintf(buf, "%s", list->date_time); - if ((ptr = strdup(buf)) == NULL) - return (NULL); if ((ptr = malloc(BUFSIZ+1)) == NULL) return (NULL); tcount = BUFSIZ;