mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
dtcm: Coverity 88137
This commit is contained in:
parent
a690c1f7f8
commit
35ce247f9b
1 changed files with 3 additions and 0 deletions
|
@ -548,6 +548,9 @@ fmt_time_what(
|
||||||
lines = text_to_lines(appt->what->value->item.string_value, 1);
|
lines = text_to_lines(appt->what->value->item.string_value, 1);
|
||||||
if (lines != NULL && lines->s != NULL) {
|
if (lines != NULL && lines->s != NULL) {
|
||||||
(void) cm_strcat(buf, lines->s);
|
(void) cm_strcat(buf, lines->s);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (lines != NULL) {
|
||||||
destroy_lines(lines);
|
destroy_lines(lines);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue