summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorperepelits.m <perepelits.m@samsung.com>2015-10-19 11:00:22 -0700
committerCedric BAIL <cedric@osg.samsung.com>2015-10-19 11:00:25 -0700
commit2d52eedf0655173926db69f89ab86965bc08e98d (patch)
treeaa644817d7cb2a78fd4b39aa4c6c55f29078389e
parent4a830877f0f2cee5131174a304b2066feb67539d (diff)
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>
-rw-r--r--src/lib/evas/include/evas_3d_utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/evas/include/evas_3d_utils.h b/src/lib/evas/include/evas_3d_utils.h
index ed1e91f975..413884a7b2 100644
--- a/src/lib/evas/include/evas_3d_utils.h
+++ b/src/lib/evas/include/evas_3d_utils.h
@@ -2927,6 +2927,7 @@ evas_tangent_space_get(float *data, float *tex_data, float *normal_data, unsigne
2927 2927
2928 memcpy(*tangent, tmp_tangent, (3 * vertex_count) * sizeof(float)); 2928 memcpy(*tangent, tmp_tangent, (3 * vertex_count) * sizeof(float));
2929 free(tmp_tangent); 2929 free(tmp_tangent);
2930 free(plain);
2930 2931
2931 return; 2932 return;
2932} 2933}