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:
parent
313bd72e24
commit
3c056ef018
1 changed files with 8 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue