From 2d52eedf0655173926db69f89ab86965bc08e98d Mon Sep 17 00:00:00 2001 From: "perepelits.m" Date: Mon, 19 Oct 2015 11:00:22 -0700 Subject: [PATCH] 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 --- src/lib/evas/include/evas_3d_utils.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/evas/include/evas_3d_utils.h b/src/lib/evas/include/evas_3d_utils.h index ed1e91f..413884a 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 memcpy(*tangent, tmp_tangent, (3 * vertex_count) * sizeof(float)); free(tmp_tangent); + free(plain); return; } -- 2.7.4