mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
dtcm: Coverity 174711
This commit is contained in:
parent
606f7a599d
commit
313bd72e24
1 changed files with 4 additions and 1 deletions
|
@ -1130,10 +1130,13 @@ _GetAccessList(_DtCmsCalendar *cal, int index, cms_attribute *attr)
|
|||
tmpattr.value = &tmpval;
|
||||
tmpval.type = CSA_VALUE_ACCESS_LIST;
|
||||
|
||||
free(alist);
|
||||
return (_DtCm_copy_cms_attribute(attr, &tmpattr,
|
||||
B_TRUE));
|
||||
} else
|
||||
} else {
|
||||
free(alist);
|
||||
return (stat);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue