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 88514

This commit is contained in:
Peter Howkins 2018-07-04 22:07:44 +01:00
parent 313bd72e24
commit 3c056ef018

View file

@ -924,9 +924,14 @@ ApptDragStart(
free(context);
return;
}
apptstr = parse_attrs_to_string(appt, (Props *)calendar->properties,
attrs_to_string(appt->attrs,
appt->count));
{
char *attr_string = attrs_to_string(appt->attrs, appt->count);
apptstr = parse_attrs_to_string(appt, (Props *)calendar->properties,
attr_string);
free(attr_string);
}
free_appt_struct(&appt);
context->data = apptstr;