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 88687

This commit is contained in:
Peter Howkins 2018-07-04 22:16:48 +01:00
parent b0a656cf0e
commit 4d15194de0

View file

@ -420,6 +420,9 @@ format_abbrev_appt(Dtcm_appointment *appt, char *b, Boolean show_am,
lines = text_to_lines(appt->what->value->item.string_value, 1);
if (lines != NULL && lines->s != NULL) {
(void) cm_strcat(b, lines->s);
}
if(lines != NULL) {
destroy_lines(lines);
}
}