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 174711

This commit is contained in:
Peter Howkins 2018-07-04 21:52:19 +01:00
parent 606f7a599d
commit 313bd72e24

View file

@ -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);
}
}
}