Summary:
Firstly it was the main point of in CID1323089 from Coverity, but this variable is unused. So I've deleted it.
CID1323089
Reviewers: raster, Hermet, cedric
Reviewed By: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D3067
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
return;
}
- unsigned short int *tmp_index = (unsigned short int*) malloc((vertex_count) * sizeof(unsigned short int));
-
- if (tmp_index == NULL)
- {
- ERR("Failed to allocate memory %d %s", __LINE__, __FILE__);
- return;
- }
-
float *tmp_tangent = (float*) malloc((3 * vertex_count) * sizeof(float));
if (tmp_tangent == NULL)
{
memcpy(*tangent, tmp_tangent, (3 * vertex_count) * sizeof(float));
- free(tmp_index);
free(tmp_tangent);
return;