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:
48a27fa
)
dtcm: Coverity 89547
author
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Jul 2018 02:53:58 +0000
(
03:53
+0100)
committer
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Jul 2018 02:53:58 +0000
(
03:53
+0100)
cde/programs/dtcm/server/log.c
patch
|
blob
|
history
diff --git
a/cde/programs/dtcm/server/log.c
b/cde/programs/dtcm/server/log.c
index 614cb992d89b1d9d0572f9941240ad1f4b476f1e..4ccd3925055a6a939924c767d4452e3047148cf8 100644
(file)
--- 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;