1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

dtcm: Coverity 89369

This commit is contained in:
Peter Howkins 2018-07-04 23:05:57 +01:00
parent 008c224771
commit bab89de6ff

View file

@ -941,7 +941,11 @@ nt */
scrub_attr_list(appt);
appointment_buf = parse_attrs_to_string(appt, p, attrs_to_string(appt->attrs, appt->count));
{
char *attrstring = attrs_to_string(appt->attrs, appt->count);
appointment_buf = parse_attrs_to_string(appt, p, attrstring);
free(attrstring);
}
free_appt_struct(&appt);