evas: fix memory leak

Summary:
Fix of memory leak in evas_3d_utils.c

@fix

Reviewers: raster, Hermet, cedric

Reviewed By: cedric

Subscribers: artem.popov

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
perepelits.m 2015-10-19 11:00:22 -07:00 committed by Cedric BAIL
parent 4a830877f0
commit 2d52eedf06
1 changed files with 1 additions and 0 deletions

View File

@ -2927,6 +2927,7 @@ evas_tangent_space_get(float *data, float *tex_data, float *normal_data, unsigne
memcpy(*tangent, tmp_tangent, (3 * vertex_count) * sizeof(float));
free(tmp_tangent);
free(plain);
return;
}