dtcm: Coverity 88978

This commit is contained in:
Peter Howkins 2018-07-04 00:57:17 +01:00
parent 1de8020c41
commit 199bb761af
1 changed files with 1 additions and 0 deletions

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);
}