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:
parent
008c224771
commit
bab89de6ff
1 changed files with 5 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue