1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

dtcm: Coverity 88978

This commit is contained in:
Peter Howkins 2018-07-04 00:57:17 +01:00
parent 1de8020c41
commit 199bb761af

View file

@ -89,6 +89,7 @@ dssw_get_non_times(DSSW *dssw, time_t t) {
str = XmTextGetString(dssw->what_text);
strcpy(dssw->what_val, str);
snprintf(dssw->what_val, sizeof(dssw->what_val), "%s", str);
XtFree(str);
}