evas: remove useless part of code in evas_convex_hull_get function

Summary:
@fix
CID: 1339788

Reviewers: raster, cedric

Reviewed By: cedric

Differential Revision: https://phab.enlightenment.org/D3350

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
Oleksandr Shcherbina 2015-11-23 08:19:49 +01:00 committed by Cedric BAIL
parent 3a56b3f013
commit d871ff8d11
1 changed files with 0 additions and 2 deletions

View File

@ -2058,8 +2058,6 @@ evas_convex_hull_get(float *data, int count, int stride, Eina_Inarray *vertex,
if ((!equivalent_triangle) && (!second_exist_twice) && (!triangle_chain) && (if_two < 2))
{
if (new_elem2)
free (new_elem2);
new_elem2 = malloc(sizeof(Evas_Triangle3));
evas_triangle3_set(new_elem2, best, &tmp2, &tmp1);
eina_array_push(&arr_elems, new_elem2);