mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtcm: Coverity 89547
This commit is contained in:
parent
48a27fa64d
commit
70da2331b1
1 changed files with 0 additions and 2 deletions
|
@ -1301,8 +1301,6 @@ get_date_time_list_string(CSA_date_time_list list)
|
||||||
|
|
||||||
/* do the first one */
|
/* do the first one */
|
||||||
sprintf(buf, "%s", list->date_time);
|
sprintf(buf, "%s", list->date_time);
|
||||||
if ((ptr = strdup(buf)) == NULL)
|
|
||||||
return (NULL);
|
|
||||||
|
|
||||||
if ((ptr = malloc(BUFSIZ+1)) == NULL) return (NULL);
|
if ((ptr = malloc(BUFSIZ+1)) == NULL) return (NULL);
|
||||||
tcount = BUFSIZ;
|
tcount = BUFSIZ;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue