dtcm: Coverity 89275
This commit is contained in:
@@ -676,7 +676,7 @@ _DtCmsGetCalAttrsByName(
|
|||||||
cms_attribute **attrs_r)
|
cms_attribute **attrs_r)
|
||||||
{
|
{
|
||||||
CSA_return_code stat = CSA_SUCCESS;
|
CSA_return_code stat = CSA_SUCCESS;
|
||||||
int i, j, index;
|
int i, j, index = 0;
|
||||||
cms_attribute *attrs;
|
cms_attribute *attrs;
|
||||||
|
|
||||||
if ((attrs = calloc(1, sizeof(cms_attribute)*num_names)) == NULL)
|
if ((attrs = calloc(1, sizeof(cms_attribute)*num_names)) == NULL)
|
||||||
|
|||||||
Reference in New Issue
Block a user